EncodeImageToJPXFile
Image handling
תיאור
Decodes a bitmap stream and writes a JPEG 2000 image to a JP2 file
תחביר
Function TPDFlib.EncodeImageToJPXFile(InStream: TStream; Const FileName: WideString; Quality, Lossless: Integer): Integer;
פרמטרים
| InStream | זרם ה-bitmap של הקלט שמיקומו משוחזר לפני ההחזרה |
|---|---|
| FileName | Destination JP2 file name |
| Quality | Lossy quality from 1 to 100 |
| Lossless | 1 selects reversible lossless encoding and 0 selects lossy encoding |
ערכי החזרה
Returns 1 on success or 0 on failure
הערות
פעולה שנכשלה מסירה את קובץ היעד החלקי