What makes you think that /ColorSpace is optional just because BPC is 1?!?! It is ALWAYS required since the BPC has to be taken against SOME colorspace.
Leonard On 8/2/11 12:17 PM, "MaryAubaun" <[email protected]> wrote: >I have some PDFs with tiff images in some of the pages, a sample header is >below. When I call getImageAsBytes(), it returns null (Looking at the >code, >it doesn't recognize the image as bw, there is no /ColorSpace tag, which >is >not required since BitsPerComponent is 1) > >Is this a bug, is there a workaround? > >obj ><</Type/XObject/Subtype/Image/Width 2560/Height 3300/BitsPerComponent >1/ImageMask true/Decode[1 0]/Length >139862/Filter/CCITTFaxDecode/DecodeParms<</K -1/Columns >2560/BlackIs1 >true>> > > >-- >View this message in context: >http://itext-general.2136553.n4.nabble.com/Unable-to-extract-Tiff-Image-tp >3713457p3713457.html >Sent from the iText - General mailing list archive at Nabble.com. > >-------------------------------------------------------------------------- >---- >BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA >The must-attend event for mobile developers. Connect with experts. >Get tools for creating Super Apps. See the latest technologies. >Sessions, hands-on labs, demos & much more. Register early & save! >http://p.sf.net/sfu/rim-blackberry-1 >_______________________________________________ >iText-questions mailing list >[email protected] >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 ------------------------------------------------------------------------------ BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA The must-attend event for mobile developers. Connect with experts. Get tools for creating Super Apps. See the latest technologies. Sessions, hands-on labs, demos & much more. Register early & save! http://p.sf.net/sfu/rim-blackberry-1 _______________________________________________ iText-questions mailing list [email protected] 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
