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
bitmapA Bitmap object which is to be converted to BufferedImage
Returns
A BufferedImage object
Exceptions
PDFException
See also
PDFException

Foxit Software Corporation Logo
@2018 Foxit Software Incorporated. All rights reserved.