Try with trunk now. For your image you will also need the jai_imageio.jar
for the colors to be right.

On Mon, Dec 1, 2014 at 5:00 PM, Christian Pestel <christian.pes...@orange.fr
> wrote:

>   Yes ! It’s work very well !  [image: Sourire]
>
>  I look forward to your patch
>
> Thanks a lot, Luis.
>
>
>
> Christian Pestel
>
> christian.pes...@orange.fr <cpes...@bdoc.com>
>
>  *From:* Luis Bernardo <lmpmberna...@gmail.com>
> *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 <cpes...@bdoc.com>
>
>  *From:* Luis Bernardo <lmpmberna...@gmail.com>
> *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
>
>

Reply via email to