You seem to have a problem with the concept of "images". There are two types: - Raster (<http://en.wikipedia.org/wiki/Raster_graphics>) - Vector (<http://en.wikipedia.org/wiki/Vector_graphics>)
An Image XObject is a Raster image, while a Form XObject is a vector image. So you need to determine how you wish to deal with the differences in your product. Leonard On 11/1/11 7:40 AM, "Giampaolo Capelli" <[email protected]> wrote: >But since Acrobat Reader is able to properly render my pdf file, >I guess there should be some way to get the data I need. > >Do I need to use a third party library to parse that pdf syntax, >or to render the images and calculate myself their attributes? > > >-----Messaggio originale----- >Da: 1T3XT BVBA [mailto:[email protected]] >Inviato: martedì 1 novembre 2011 12:25 >A: Post all your questions about iText here >Oggetto: Re: [iText-questions] R: R: image in Flatedecode stream without >metadata in dictionary > >On 1/11/2011 11:39, Giampaolo Capelli wrote: >> That ISO reports the dictionary's BBox entry, that is required. >> >> I've decoded one of my Flatedecode streams, it looks like this >> Does it look like a form XObject? > >Yes, that's PDF syntax. This means you don't have an image, but a Form >XObject. >If you want to have the Form XObject to have a BBox, please ask the >people at GhostScript to add one. >If they don't provide the required BBox value, ask them how you're >supposed to get the width and the height. > >-------------------------------------------------------------------------- >-- >-- >RSA® Conference 2012 >Save $700 by Nov 18 >Register now >http://p.sf.net/sfu/rsa-sfdev2dev1 >_______________________________________________ >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 >----- >Nessun virus nel messaggio. >Controllato da AVG - www.avg.com >Versione: 10.0.1411 / Database dei virus: 2092/3988 - Data di rilascio: >31/10/2011 > > >-------------------------------------------------------------------------- >---- >RSA® Conference 2012 >Save $700 by Nov 18 >Register now >http://p.sf.net/sfu/rsa-sfdev2dev1 >_______________________________________________ >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 ------------------------------------------------------------------------------ RSA® Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 _______________________________________________ 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
