Foxit PDF SDK

Public Member Functions | List of all members
FSDK.ImageCompressionCallback Class Reference

## Public Member Functions
| GetTemporaryFileStream (bitmap)
| Get temporary file stream. The file stream is used for saving the encoding result of JPEG2000 and JBIG2 temporarily. More...
| Release ()
| A callback function used to release current callback object itself. More...

## Member Function Documentation

## ◆ GetTemporaryFileStream()

FSDK.ImageCompressionCallback.GetTemporaryFileStream | ( | bitmap |  | ) |

Get temporary file stream. The file stream is used for saving the encoding result of JPEG2000 and JBIG2 temporarily.

Parameters

  [in] | bitmap | A bitmap object need to be encoded.

Returns
  A FSDK.StreamCallback object which is implemented by user. This callback would be used to save image data. Callback fucntion FSDK.StreamCallback.Release of returned callback object will be called by Foxit PDF SDK, when Foxit PDF SDK does not need to use returned callback object anymore.

## ◆ Release()

FSDK.ImageCompressionCallback.Release | ( |  | ) |

A callback function used to release current callback object itself.

Returns
  None.