Hello,

Is there a reason for PDColorSpace not to inherit from COSDictionary ?

Refering to pdfreference, section 3.7.2 (Resource Dictionnaries), a ColorSpace is a dictionary, and this cause me trouble with the following resource :

127 0 obj
<<
/ColorSpace 289 0 R
/ExtGState 290 0 R
/Shading 291 0 R
/XObject <<
>>

with lead to the following ColorSpace :

289 0 obj
<<
/CS0 [/DeviceN [/Cyan /Magenta]
 /DeviceCMYK 97 0 R 98 0 R]
>>

(in PDF 1.4)

Pdfbox 1.7 convert it as PDDeviceN classes, and does not allow me to walk inside the referenced object. Is there a way to process for convert into a dictionnary ?

(I'm waiting for the right to diffuse the pdf document)

Thanks,

--
Sébastien Dailly

Reply via email to