xmlgraphics-batik-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From thomas.dewe...@kodak.com
Subject RE: Rasterizing of SVG file with the linked graphics fails if CMYK icc profile is specified
Date Tue, 31 Mar 2009 10:01:54 GMT
Hi Jan,

> > I don't think Batik supports 4 channel colorspaces for Raster content 
> > (for a number of SVG features I think this would be undefined, in
> > particular Filters and Masks). 

> > > but during rasterizing to JPEG or PDF I am getting error
> > > Input image and asociated color profile have mismatching number of 
> > > components: conversion is not possible.
> > I should say that the above error sounds like your JPEG doesn't 
> > have 4 channels

Jan To?ovsk√Ĺ <j.tosovsky@tiscali.cz> wrote on 03/30/2009 01:13:46 PM:

> Yes, JPEG has only RGB channels. 
> BTW, I've supposed (maybe wrong) if CMYK ICC profile is applied to RGB 
> (offset printing in my case), it will be displayed on monitor (or 
> to any format) similarly to the printed output (~ soft proof).

   No, this use of icc-profiles is to specify what color space the
data in the file is really described in.  In other words it's for
specifying an input profile, you want to specify an output profile.

> > (although it's also possible that our JPEG reader doesn't 
> > know how to load 4 channels). 
> For those who are interested, if JPEG is converted into CMYK:
> - in Photoshop: it is read in Batik, but on my PC both JPEG and PDF 
> are in negative.

   Did you try applying the ICC profile in this case?

> It discouraged me from trying to make very basic 'soft proof' of SVG 
file in
> Batik. I'll use RGB images. 

   Sorry, It would be difficult to make Batik support images with anything
other than 3 color bands.
View raw message