Hi!

As it is right now, multi-strip tiffs aren't supported in iText. There 
are also no plans to implement this functionality.

As you noticed: The "workaround" for this issue is to preprocess the 
image using an image library or the jai extension library.

Hope this helps.


Kind regards,
Michaƫl.


Huksley schreef op 13/03/2014 21:45:
> Hello!
>
> I am receiving error trying to convert TIFF to PDF.
>
>> Compression JPEG is only supported with a single strip. This image has 220 
>> strips.
>
> I`ve tested it on latested 5.4.5 version.
>
> Is there any workaround for this error, besides pre-converting TIFF to
> other format before feeding it to iText?
>
> ---
> ExceptionConverter: java.io.IOException: Compression JPEG is only
> supported with a single strip. This image has 220 strips.
>          at
> com.itextpdf.text.pdf.codec.TiffImage.getTiffImageColor(TiffImage.java:448)
>          at
> com.itextpdf.text.pdf.codec.TiffImage.getTiffImage(TiffImage.java:116)
>          at
> com.itextpdf.text.pdf.codec.TiffImage.getTiffImage(TiffImage.java:298)
>          at com.itextpdf.text.Image.getInstance(Image.java:415)
>          at com.itextpdf.text.Image.getInstance(Image.java:362)
>
> ------------------------------------------------------------------------------
> Learn Graph Databases - Download FREE O'Reilly Book
> "Graph Databases" is the definitive new guide to graph databases and their
> applications. Written by three acclaimed leaders in the field,
> this first edition is now available. Download your free book today!
> http://p.sf.net/sfu/13534_NeoTech
> _______________________________________________
> 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
>


------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
_______________________________________________
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