Yes ! It’s work very well ! I look forward to your patch
Thanks a lot, Luis. Christian Pestel christian.pes...@orange.fr From: Luis Bernardo Sent: Monday, December 01, 2014 5:31 PM To: fop-users@xmlgraphics.apache.org Subject: Re: TIFF CMYK image with AFP I see. I do have a patch for this, something that I fixed a while ago and never got around to commit (see attachment and check it is OK). I will try to have it applied tomorrow. On Mon, Dec 1, 2014 at 4:05 PM, Christian Pestel <christian.pes...@orange.fr> wrote: Hi Luis, I join image, fo and afp files I use Fop Trunk version Fop.config : <renderer mime="application/x-afp"> <renderer-resolution>300</renderer-resolution> <images mode="color" cmyk="true" native="false" fs45="true" > <jpeg allow-embedding="false" bitmap-encoding-quality="1.0"/> </images> Christian Pestel christian.pes...@orange.fr From: Luis Bernardo Sent: Monday, December 01, 2014 3:48 PM To: fop-users@xmlgraphics.apache.org Subject: Re: TIFF CMYK image with AFP Can you provide the tiff image and fop.xconf you use? On Mon, Dec 1, 2014 at 10:56 AM, Christian Pestel <christian.pes...@orange.fr> wrote: Hi, TIFF image with CMYK color space is not well rendered in AFP. I think that the native TIFF codec don’t implement that : xmlgraphics\image\codec\tiff\TIFFImage.java public TIFFImage(SeekableStream stream, TIFFDecodeParam param, int directory) ... default: // Other including CMYK, CIE L*a*b*, unknown. if (sampleSize % 8 == 0) { imageType = TYPE_GENERIC; } ... Is it possible to use a different codec that would cover this type of image like TwelveMonkeys imageio-tiff codec ? Thanks, Christian Pestel christian.pes...@orange.fr --------------------------------------------------------------------- To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org -------------------------------------------------------------------------------- --------------------------------------------------------------------- To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org