Foxit PDF SDK

构造函数 | 所有成员列表
<FSImageCompressionCallback>协议 参考

继承自 <NSObject> .

## 构造函数
(id< FSFileStreamCallback >) | - GetTemporaryFileStream:
| Get temporary file stream. The file stream is used for saving the encoding result of JPEG2000 and JBIG2 temporarily. 更多...
(void) | - release
| A callback function used to release current callback object itself. 更多...

## 详细描述

This class represent a callback object used during the process to optimizie PDF document. All the pure virtual functions in this class are used as callback functions and should be implemented by user.

## 函数文档

## ◆ GetTemporaryFileStream:()

- (id<FSFileStreamCallback>) GetTemporaryFileStream: |  | (FSBitmap *) | bitmap |
| required

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

参数

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

返回
  A common::file::StreamCallback object which is implemented by user. This callback would be used to save image data. Callback fucntion common::file::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()

- (void) release |  |  |
| required

A callback function used to release current callback object itself.

返回
  None.