Op 21/08/2013 10:34, Vahid Nasiri schreef:
> Hello,
> In the recent versions of iTextSharp, some definitions of image 
> dictionaries are missing in the produced PDF files:
> With error (corrupted image, can't be displayed using Adobe reader, 
> produced with latest iTextSharp)
> 1 0 obj
> <</Type/XObject/Subtype/Form/Resources<</Font<</F1 4 0 R>>>>/BBox[0 0 
> 50 50]/FormType 1/Matrix [1 0 0 1 0 0]/Length 
> 39/Filter/FlateDecode>>stream
> Image displays fine (produced with iTextSharp 5.4.1)
> 1 0 obj
> <</Type/XObject/Subtype/Form/Resources<</ProcSet [/PDF /Text /ImageB 
> /ImageC /ImageI]/Font<</F1 4 0 R>>>>/BBox[0 0 50 50]/FormType 1/Matrix 
> [1 0 0 1 0 0]/Length 39/Filter/FlateDecode>>stream

Hmm... Granted, ProcSet is defined in ISO-32000-1, but we're preparing 
for ISO-32000-2 and table 33 "Entries in a resource dictionary" says:

ProcSet    array (Optional)    An array of predefined procedure set 
names (see 14.2, "Procedure sets"). This feature is obsolete and should 
not be used by PDF writers and may be ignored by PDF readers.

Section 14.2 also states: "Beginning with PDF 1.4, this feature is 
considered obsolete. A PDF writer should not write this information and 
a PDF reader may ignore it when present."

Are you by any chance using a mighty old PDF version of Adobe Reader?
Or maybe your analysis is wrong. For instance: contrary to what you 
claim, the /ProcSet dictionary isn't an image dictionary. ProcSet stands 
for procedure sets. Maybe there's something else going on with your image.

------------------------------------------------------------------------------
Introducing Performance Central, a new site from SourceForge and 
AppDynamics. Performance Central is your source for news, insights, 
analysis and resources for efficient Application Performance Management. 
Visit us today!
http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a reference 
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples: 
http://itextpdf.com/themes/keywords.php

Reply via email to