Tiff cmyk

2007-01-10 Thread Kris Wolff
Hi all, i searched the list a few hours by now, trying to get help on my tif problem and i can now import a tif saved in rgb color. But for print i need a cmyk tiff. The Problem is, that the cmyk is renderd with batik, why? for rgb fop takes teh right jimi... The result from the cmyk is jus

Re: Tiff cmyk

2007-01-10 Thread Jeremias Maerki
CMYK TIFF is currently only supported if the image itself is encoded as a DCT image (with is the same compression JPEG uses). Otherwise, FOP will process the image data wrongly, thinking it is RGB data. I suggest you convert your images into a CMYK JPEG images. That is probably the easiest work-aro

Re: Tiff cmyk

2007-01-10 Thread Kris Wolff
Hi Jeremias, now i am running into an error, that terminates the rendering: javax.xml.transform.TransformerException: java.lang.RuntimeException: TIFFImage16 at org.apache.xalan.templates.ElemLiteralResult.execute (ElemLiteralResult.java:725) at org.apache.xalan.transformer.T

Re: Tiff cmyk

2007-01-10 Thread Jeremias Maerki
Without either the original exception (this is a nested one) or the image file, I have no idea what this is about. Sorry. But why don't you try JPEG directly. There's a higher chance that this will work. On 10.01.2007 22:33:57 Kris Wolff wrote: > Hi Jeremias, > > now i am running into an error, t

Re: Tiff cmyk

2007-01-10 Thread Jeremias Maerki
Hmm, "TIFFImage16" is one of those error messages that should actually be resolved into an understandable error message. Looking at the source code, it means as much as: "I don't support CMYK images with DCT compression". "I" that is the TIFF codec in XML Graphics Commons. Unfortunately, the image

Re: Tiff cmyk

2007-01-10 Thread Kris Wolff
Hi Jeremias, i try to follow you in the code... hm, lost at some point. I definetly need cmyk, so i start to begin looking for some jai examples rendering tiff2jpeg without loosing the color theme. All i get by now is some ugly image in compleate diferent colors so i think other api,

Re: Tiff cmyk

2007-01-10 Thread Jeremias Maerki
I don't have much time right now to explain the current plans but take a look at: org.apache.fop.render.pdf.FopPDFImage org.apache.fop.render.image.TIFFImage org.apache.fop.render.image.XmlGraphicsCommonsImage (parent of TIFFImage) Some notes for the upcoming redesign of the image package: http://

TIFF CMYK image with AFP

2014-12-01 Thread Christian Pestel
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*

Re: TIFF CMYK image with AFP

2014-12-01 Thread Luis Bernardo
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\co

Re: TIFF CMYK image with AFP

2014-12-01 Thread Christian Pestel
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

Re: TIFF CMYK image with AFP

2014-12-02 Thread Luis Bernardo
> > 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 f

Re: TIFF CMYK image with AFP

2014-12-10 Thread Christian Pestel
, December 01, 2014 6:00 PM To: fop-users@xmlgraphics.apache.org Subject: Re: TIFF CMYK image with AFP 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

Re: TIFF CMYK image with AFP

2014-12-10 Thread Luis Bernardo
stian.pes...@orange.fr> *Sent:* Monday, December 01, 2014 6:00 PM *To:* fop-users@xmlgraphics.apache.org <mailto:fop-users@xmlgraphics.apache.org> *Subject:* Re: TIFF CMYK image with AFP Yes ! It’s work very well ! Sourire I look forward to your patch Thanks a lot, Luis. ** Christian Pes

Re: TIFF CMYK image with AFP

2014-12-11 Thread Christian Pestel
Hi Luis, If this can help you, I attach an AFP file that shows the content of a TIFF LZW in IOCA. Christian Pestel christian.pes...@orange.fr From: Luis Bernardo Sent: Wednesday, December 10, 2014 7:54 PM To: fop-users@xmlgraphics.apache.org Subject: [?? Probable Spam] Re: TIFF CMYK