mirror of
https://github.com/michaelrsweet/pdfio.git
synced 2025-08-29 15:22:06 +02:00
Start work on OutputIntent and better color support in PDFio:
- Add CGATS001-compatible "micro" ICC profile as a standard CMYK color space (this is the default used by several Adobe applications) - Add `PDFIO_CS_CGATS001` color space enum. - Extend `pdfioArrayCreateColorFromStandard` to support CMYK. - Extend `pdfioFileCreateImageObjFromFile` to support CMYK JPEG files. - Update `pdfioFileCreatePage` to add default grayscale, RGB, and CMYK color space resources as needed.
This commit is contained in:
@@ -267,7 +267,8 @@ struct _pdfio_file_s // PDF file structure
|
||||
pdfio_obj_t *info_obj; // Information object
|
||||
pdfio_obj_t *pages_obj; // Root pages object
|
||||
pdfio_obj_t *encrypt_obj; // De/Encryption object/dictionary
|
||||
pdfio_obj_t *cp1252_obj, // CP1252 font encoding object
|
||||
pdfio_obj_t *cgats001_obj, // CGATS001 ICC profile object
|
||||
*cp1252_obj, // CP1252 font encoding object
|
||||
*unicode_obj; // Unicode font encoding object
|
||||
pdfio_array_t *id_array; // ID array
|
||||
|
||||
|
Reference in New Issue
Block a user