On Wed, 29 May 2013 13:37:33 +0200, Alessio Balloni <alessio.ball...@outlook.com> wrote:

Hi all,
I use iTextSharp to add an image at the top of some existing pdf document.
The image is a QR code image.

You say it's an image, as if you were talking about an Image XObject.
In reality, it's not an Image XObject, but a Form XObject. Big difference!

In another function I’ve got to extract this image and decode.
The library works fine at the document production stage but fails when extracting images.

That's because there's no Image XObject.

It seems that all the images with PixelFormat 8 can’t be extracted, while 24 PixelFormat image extraction work well.

I have no idea what you mean by PixelFormat 8 and 24 PixelFormat.

 
This is true also producing the QR code via iTextSharp library too.
 
Someone can help me?

Please read ISO-32000-2 on the difference between Image XObjects and Form XObjects.
------------------------------------------------------------------------------
Introducing AppDynamics Lite, a free troubleshooting tool for Java/.NET
Get 100% visibility into your production application - at no cost.
Code-level diagnostics for performance bottlenecks with <2% overhead
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap1
_______________________________________________
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