Foxit PDF SDK
com.foxit.sdk.PDFUtil Class Reference

Static Public Member Functions

static BufferedImage convertBitmaptoBufferedImage (Bitmap bitmap) throws com.foxit.sdk.PDFException
 

Detailed Description

Class PDFUtil provides some utility functions for convenient purpose.

Member Function Documentation

◆ convertBitmaptoBufferedImage()

static BufferedImage com.foxit.sdk.PDFUtil.convertBitmaptoBufferedImage ( Bitmap  bitmap) throws com.foxit.sdk.PDFException
static

Convert a Bitmap object to a BufferedImage object.

This function offers a convenient method to convert current bitmap directly to a BufferedImage object.

Parameters
[in]bitmapA Bitmap object which is to be converted to BufferedImage
Returns
A BufferedImage object