PsImage class.
More...
PsImage class.
PsImage contains an image data in an internal format.
◆ Destroy()
virtual void PsImage::Destroy |
( |
| ) |
|
|
pure virtual |
◆ GetPointColor()
Gets a color of the image point.
- Parameters
-
point | A point which color is requested. |
color(filled | by method) RGB color of the image point. |
◆ Save()
virtual bool PsImage::Save |
( |
const wchar_t * |
path, |
|
|
PdfImageParams * |
params |
|
) |
| |
|
pure virtual |
Saves the image into a file.
- Parameters
-
path | Absolute file path where the image should be saved. |
params | PdfImageParams specifying the image format and quality. |
- Returns
- true if succeeded, false otherwise.
- See also
- PdfImageFormat
◆ SaveDataToStream()
virtual bool PsImage::SaveDataToStream |
( |
PsStream * |
stream | ) |
|
|
pure virtual |
Saves the image data in the format of an image into a stream.
- Parameters
-
stream | PsStream where to save image data in requested format. |
- Returns
- true if succeeded, false otherwise.
◆ SaveRect()
Saves a clip of the image into a file.
- Parameters
-
path | Absolute file path where the image should be saved. |
params | PdfImageParams specifying the image format and quality. |
dev_rect | Clip area of the image that needs to be saved. |
- Returns
- true if succeeded, false otherwise.
- See also
- PdfImageFormat
◆ SaveRectToStream()
Saves a clip of the image into a stream.
- Parameters
-
stream | PsStream where to save image data in requested format. |
params | PdfImageParams specifying the image format and quality. |
dev_rect | Clip area of the image that needs to be saved. |
- Returns
- true if succeeded, false otherwise.
- See also
- PdfImageFormat
◆ SaveToStream()
Saves the image into a stream.
- Parameters
-
stream | PsStream where to save image data in requested format. |
params | PdfImageParams specifying the image format and quality. |
- Returns
- true if succeeded, false otherwise.
- See also
- PdfImageFormat