Hi Thomas,

Essentially what I am trying to do is to create some output from Batik that can be used to create an offset lithography printing plate.
The image is really simple just black and red text with an embedded black and white png. Using PrintTranscoder I print to a PDF printer driver.
These pdfs are always in the rgb colour space. When loaded into the imagesetting software RGB PDFs do not separate cleanly into CMYK process colours.
RGB to CMYK conversion software may be the solution.
I will look into what you said in your reply but my gut reaction is that CMYK JPEG is not the way to go.

Thanks for the fast reponse.
Patrick

[EMAIL PROTECTED] wrote:
Hi all,

Jeremias Maerki <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

    


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


  

--

SML GRESHAM

 

Patrick Egan
IT

 

 

 

 

 

 

SML Gresham
Unit 2
RiverSide Industrial Estate
Market Harborough
Leicestershire
LE16 7PT

[EMAIL PROTECTED]
[EMAIL PROTECTED]

tel:
fax:

+44 (0)1858 439430
+44 (0)1858 439435

 

 


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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to