michaelrsweet / pdfio

PDFio is a simple C library for reading and writing PDF files.
https://www.msweet.org/pdfio
Apache License 2.0
198 stars 44 forks source link

Get name from object #76

Closed vlasovsoft1979 closed 1 month ago

vlasovsoft1979 commented 2 months ago

For example, store Image ColorSpace in the separate object:

8 0 obj
<<
/Type /XObject
/Subtype /Image
/ColorSpace 10 0 R
>>
...
10 0 obj
/DeviceRGB
endobj
vlasovsoft1979 commented 1 month ago

@michaelrsweet This is my first PR to github. Please let me know if I forget something. I've fixed your comments. Now it's your turn.

michaelrsweet commented 1 month ago

OK, holding for the next feature release (have a bug fix release to do first...)