You are viewing a plain text version of this content. The canonical link for it is here.
Posted to batik-users@xmlgraphics.apache.org by Patrick Egan <pa...@greshamticket.com> on 2006/01/09 18:18:22 UTC

CMYK from Batik

Hello, 

I may be asking for the moon on a stick but is there any way to get CMYK 
colour output, preferably in pdf format from Batik ?  I can get pdf 
output using PrintTranscoder and pdf printer driver (eg.PDF reDirect) 
but the pdfs are always in RGB and require a further conversion to CMYK 
before they can be used to make printing plates.

Thanks,
Patrick




Important - This e-mail and the information that it contains may be
confidential, legally privileged and protected by law.  Access by the
intended recipient only is authorised.  Any liability (in negligence or
otherwise) arising from any third party acting, or refraining from acting,
on any information contained in this e-mail is hereby excluded.  If you are
not the intended recipient, please notify the sender immediately and do not
disclose the contents to any other person, use it for any purpose, or store
or copy the information in any medium.  Copyright in this e-mail and
attachments created by us belongs to the author and
also asserts the right to be identified as such and object to any misuse.

---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: batik-users-help@xmlgraphics.apache.org


Re: CMYK from Batik

Posted by th...@kodak.com.
Hi all,

Jeremias Maerki <de...@jeremias-maerki.ch> wrote on 01/24/2006 05:32:44 AM:

> AFAIK, none of the bitmap transcoders support the creation of a CMYK
> bitmap at the moment.

   This is correct, however if you were to check out the code in the
"How to load an SVG resource into a java.awt.Image" thread.  You would
have essentially everything you need to construct get a CMYK BufferedImage
from Batik (you will have to use the 'ColorModel' constructor for the
BufferedImage, use the 'createCompatibleWritableRaster' to get an
appropriate raster).

   The one word of caution I will give is that my experience with
Java2D is that problems start to crop up once you get "off the beaten 
path" and rendering to a CMYK image is almost certainly off the beat
path.  Also I'm a little curious why a CMYK JPEG is any better than
an RGB (well YCbCr) unless you have support for specifying CMYK 
colors.  Which the above will _not_ give you.

> On 23.01.2006 17:03:39 Patrick Egan wrote:
> > Thanks for your answer Jeremias,
> > 
> > Can anyone tell me how to create a CMYK JPEG with the JPEGTranscoder.
> > I believe that this involves the use of  <color-profile> tag with a 
> > reference to an .icm file, but an example of both java and suitable 
svg 
> > source would help greatly.
> > 
> > Thanks,
> > Patrick
> > 
> > Jeremias Maerki wrote:
> > 
> > >FRF = Frequently requested feature :-)
> > >
> > >No, the PDF output currently doesn't support CMYK. Only for CMYK 
JPEGs
> > >with an ICC profile the CMYK information can be preserved, but that's
> > >not what you're asking for. Furthermore, SVG is not really oriented
> > >towards CMYK. I can't talk for Batik, only for FOP (Batik uses FOP 
code
> > >for PDF output), but we currently can't specify colors with an ICC
> > >profile which is the only possible route to work with CMYK colors. 
And
> > >it may even be non-standard as far as I know.
> > >
> > >Given the amount of feature requests in the past I would have thought
> > >that someone finally sits down and starts implementing support for 
CMYK.
> > >But I guess we'll have to wait a little longer for that.
> > >
> > >On 09.01.2006 18:18:22 Patrick Egan wrote:
> > > 
> > >
> > >>Hello, 
> > >>
> > >>I may be asking for the moon on a stick but is there any way to get 
CMYK 
> > >>colour output, preferably in pdf format from Batik ?  I can get pdf 
> > >>output using PrintTranscoder and pdf printer driver (eg.PDF 
reDirect) 
> > >>but the pdfs are always in RGB and require a further conversion to 
CMYK 
> > >>before they can be used to make printing plates.
> > >>
> > >>Thanks,
> > >>Patrick
> 
> 
> 
> Jeremias Maerki
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: batik-users-unsubscribe@xmlgraphics.apache.org
> For additional commands, e-mail: batik-users-help@xmlgraphics.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: batik-users-help@xmlgraphics.apache.org


Re: CMYK from Batik

Posted by Jeremias Maerki <de...@jeremias-maerki.ch>.
AFAIK, none of the bitmap transcoders support the creation of a CMYK
bitmap at the moment.

On 23.01.2006 17:03:39 Patrick Egan wrote:
> Thanks for your answer Jeremias,
> 
> Can anyone tell me how to create a CMYK JPEG with the JPEGTranscoder.
> I believe that this involves the use of  <color-profile> tag with a 
> reference to an .icm file, but an example of both java and suitable svg 
> source would help greatly.
> 
> Thanks,
> Patrick
> 
> Jeremias Maerki wrote:
> 
> >FRF = Frequently requested feature :-)
> >
> >No, the PDF output currently doesn't support CMYK. Only for CMYK JPEGs
> >with an ICC profile the CMYK information can be preserved, but that's
> >not what you're asking for. Furthermore, SVG is not really oriented
> >towards CMYK. I can't talk for Batik, only for FOP (Batik uses FOP code
> >for PDF output), but we currently can't specify colors with an ICC
> >profile which is the only possible route to work with CMYK colors. And
> >it may even be non-standard as far as I know.
> >
> >Given the amount of feature requests in the past I would have thought
> >that someone finally sits down and starts implementing support for CMYK.
> >But I guess we'll have to wait a little longer for that.
> >
> >On 09.01.2006 18:18:22 Patrick Egan wrote:
> >  
> >
> >>Hello, 
> >>
> >>I may be asking for the moon on a stick but is there any way to get CMYK 
> >>colour output, preferably in pdf format from Batik ?  I can get pdf 
> >>output using PrintTranscoder and pdf printer driver (eg.PDF reDirect) 
> >>but the pdfs are always in RGB and require a further conversion to CMYK 
> >>before they can be used to make printing plates.
> >>
> >>Thanks,
> >>Patrick



Jeremias Maerki


---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: batik-users-help@xmlgraphics.apache.org


Re: CMYK from Batik

Posted by Patrick Egan <pa...@greshamticket.com>.
Thanks for your answer Jeremias,

Can anyone tell me how to create a CMYK JPEG with the JPEGTranscoder.
I believe that this involves the use of  <color-profile> tag with a 
reference to an .icm file, but an example of both java and suitable svg 
source would help greatly.

Thanks,
Patrick

Jeremias Maerki wrote:

>FRF = Frequently requested feature :-)
>
>No, the PDF output currently doesn't support CMYK. Only for CMYK JPEGs
>with an ICC profile the CMYK information can be preserved, but that's
>not what you're asking for. Furthermore, SVG is not really oriented
>towards CMYK. I can't talk for Batik, only for FOP (Batik uses FOP code
>for PDF output), but we currently can't specify colors with an ICC
>profile which is the only possible route to work with CMYK colors. And
>it may even be non-standard as far as I know.
>
>Given the amount of feature requests in the past I would have thought
>that someone finally sits down and starts implementing support for CMYK.
>But I guess we'll have to wait a little longer for that.
>
>On 09.01.2006 18:18:22 Patrick Egan wrote:
>  
>
>>Hello, 
>>
>>I may be asking for the moon on a stick but is there any way to get CMYK 
>>colour output, preferably in pdf format from Batik ?  I can get pdf 
>>output using PrintTranscoder and pdf printer driver (eg.PDF reDirect) 
>>but the pdfs are always in RGB and require a further conversion to CMYK 
>>before they can be used to make printing plates.
>>
>>Thanks,
>>Patrick
>>
>>
>>    
>>


Important - This e-mail and the information that it contains may be
confidential, legally privileged and protected by law.  Access by the
intended recipient only is authorised.  Any liability (in negligence or
otherwise) arising from any third party acting, or refraining from acting,
on any information contained in this e-mail is hereby excluded.  If you are
not the intended recipient, please notify the sender immediately and do not
disclose the contents to any other person, use it for any purpose, or store
or copy the information in any medium.  Copyright in this e-mail and
attachments created by us belongs to the author and
also asserts the right to be identified as such and object to any misuse.

---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: batik-users-help@xmlgraphics.apache.org


Re: CMYK from Batik

Posted by Jeremias Maerki <de...@jeremias-maerki.ch>.
FRF = Frequently requested feature :-)

No, the PDF output currently doesn't support CMYK. Only for CMYK JPEGs
with an ICC profile the CMYK information can be preserved, but that's
not what you're asking for. Furthermore, SVG is not really oriented
towards CMYK. I can't talk for Batik, only for FOP (Batik uses FOP code
for PDF output), but we currently can't specify colors with an ICC
profile which is the only possible route to work with CMYK colors. And
it may even be non-standard as far as I know.

Given the amount of feature requests in the past I would have thought
that someone finally sits down and starts implementing support for CMYK.
But I guess we'll have to wait a little longer for that.

On 09.01.2006 18:18:22 Patrick Egan wrote:
> Hello, 
> 
> I may be asking for the moon on a stick but is there any way to get CMYK 
> colour output, preferably in pdf format from Batik ?  I can get pdf 
> output using PrintTranscoder and pdf printer driver (eg.PDF reDirect) 
> but the pdfs are always in RGB and require a further conversion to CMYK 
> before they can be used to make printing plates.
> 
> Thanks,
> Patrick
> 
> 
> 
> 
> Important - This e-mail and the information that it contains may be
> confidential, legally privileged and protected by law.  Access by the
> intended recipient only is authorised.  Any liability (in negligence or
> otherwise) arising from any third party acting, or refraining from acting,
> on any information contained in this e-mail is hereby excluded.  If you are
> not the intended recipient, please notify the sender immediately and do not
> disclose the contents to any other person, use it for any purpose, or store
> or copy the information in any medium.  Copyright in this e-mail and
> attachments created by us belongs to the author and
> also asserts the right to be identified as such and object to any misuse.


Jeremias Maerki


---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: batik-users-help@xmlgraphics.apache.org