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 Chris Lilley <ch...@w3.org> on 2011/01/13 22:43:56 UTC

Re: How can I change the color model of an SVG image from RGB to CMYK and vice versa?

On Monday, December 20, 2010, 9:33:57 AM, Jeremias wrote:

JM> On 19.12.2010 18:10:42 Martin Jacobson wrote:
>> I'm going to join this thread because I have an application that
>> produces SVG maps that are ultimately printed to a vitreous enamel
>> panel that forms part of a street sign. The app has to work in RGB
>> because SVG only understands RGB, but the graphic design specification

JM> /s/only understands RGB/always requires a fallback sRGB value

JM> SVG does support non-RGB colors. But currently, Batik doesn't support
JM> passing on non-sRGB colors (they are converted to sRGB). I've added
JM> support for that this summer in development branches [1] which I'm in
JM> the process of getting ready to merge back into the respective trunks.

OOh, please let me know when that trunk merge is available for testing.


-- 
 Chris Lilley   Technical Director, Interaction Domain                 
 W3C Graphics Activity Lead, Fonts Activity Lead
 Co-Chair, W3C Hypertext CG
 Member, CSS, WebFonts, SVG Working Groups


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


Re: How can I change the color model of an SVG image from RGB to CMYK and vice versa?

Posted by Jeremias Maerki <de...@jeremias-maerki.ch>.
I wish that were so quick & easy to do. The Java code is ready and
working but the whole build process is a different story with the new
dependencies. I found a lot of code duplication in the build script and a
lot of hard-coded JAR names in Class-Path manifest entries or security
policy files. I think I have some serious refactoring before me to make
that easier.

In the meantime, you can try working with the "all-jar" Ant target on
the branch: https://svn.apache.org/repos/asf/xmlgraphics/batik/branches/svgcolor12
At least, the "all-jar" seems to build fine, although starting it with
"java -jar" doesn't work right now.

On 13.01.2011 22:43:56 Chris Lilley wrote:
> On Monday, December 20, 2010, 9:33:57 AM, Jeremias wrote:
> 
> JM> On 19.12.2010 18:10:42 Martin Jacobson wrote:
> >> I'm going to join this thread because I have an application that
> >> produces SVG maps that are ultimately printed to a vitreous enamel
> >> panel that forms part of a street sign. The app has to work in RGB
> >> because SVG only understands RGB, but the graphic design specification
> 
> JM> /s/only understands RGB/always requires a fallback sRGB value
> 
> JM> SVG does support non-RGB colors. But currently, Batik doesn't support
> JM> passing on non-sRGB colors (they are converted to sRGB). I've added
> JM> support for that this summer in development branches [1] which I'm in
> JM> the process of getting ready to merge back into the respective trunks.
> 
> OOh, please let me know when that trunk merge is available for testing.
> 
> 
> -- 
>  Chris Lilley   Technical Director, Interaction Domain                 
>  W3C Graphics Activity Lead, Fonts Activity Lead
>  Co-Chair, W3C Hypertext CG
>  Member, CSS, WebFonts, SVG Working Groups
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: batik-users-unsubscribe@xmlgraphics.apache.org
> For additional commands, e-mail: batik-users-help@xmlgraphics.apache.org




Jeremias Maerki


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