Can we see the tiff?

Paulo

On Mon, Feb 27, 2012 at 12:57 PM, Benjamin Rein <[email protected]> wrote:
> Hi Andreas,
>
> you'll have to use JAI to do the conversion from YCbCr to RGB and then iText
> to convert to PDF. This should work, but please take the performance impact
> of these operations into consideration. You don't have any problems if this
> only runs in some kind of batch processing with no one waiting for it. If
> you want to convert on the fly after a user request, only the iText tiff to
> PDF conversion can be too slow to be waited for and very memory and cpu
> excessive depending on the size of the image. Just a few pages are ok. Much
> more will need testing on your production hardware.
>
> Now you only need to find a way to distinguish between RGB tiff files and
> YCbCr tiff files with incorrect directory ;)
>
> Best regards
> Benjamin
>
>
>
> Von:        Paulo Soares <[email protected]>
> An:        Post all your questions about iText here
> <[email protected]>
> Datum:        27.02.2012 13:35
> Betreff:        Re: [iText-questions] Problem converting jpeg-coded
> multipage tiff into pdf
> ________________________________
>
>
>
> iText doesn't support YCbCr.
>
> Paulo
>
> On Mon, Feb 27, 2012 at 11:45 AM, Andreas Wagner
> <[email protected]> wrote:
>> Hi there,
>>
>> we evaluate itextpdf to convert tiff images to pdf. Now it seems that some
>> tiffs are converted with damaged colors. We have some multipage tiffs that
>> are jpeg YCbCr-coded.
>> When we use com.itextpdf.text.pdf.codec.TiffImage to read the tiffs data
>> and then put it into a pdf document, then the colors of the pages are
>> damaged(looking kind of pink and green)
>> So we tried to figure out what the problem is. In the tiff-directory the
>> pages are declared as rgb-coded, but they're not(actually they are coded
>> YCbCr). So we told our customer that their images are broken. Unfortunately
>> the customer cannot fix that problem, so we have to find a solution.
>> Does anyone has an idea, how to solve that?
>>
>> Andreas

------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
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

Reply via email to