|Summary:||[PATCH] Adding support for rendering-color-space property|
|Product:||Batik - Now in Jira||Reporter:||Thomas Deweese <deweese>|
|Component:||(RFE) Request For Extension||Assignee:||Batik Developer's Mailing list <batik-dev>|
|Bug Depends on:|
|Attachments:||A Patch that adds support for rendering-color-space|
Description Thomas Deweese 2004-02-26 11:40:42 UTC
Batik should have support for the rendering-color-space property.
Comment 1 Thomas Deweese 2004-02-26 11:41:46 UTC
Created attachment 10567 [details] A Patch that adds support for rendering-color-space
Comment 2 Thomas Deweese 2004-02-26 11:47:12 UTC
The patch attached to this bug report adds support for the SVG 1.2 property 'rendering-color-space'. This property allows subtree's of the document to be render/composed in colorspaces other than sRGB. The current patch has a few issues. 1) It requires JDK 1.4 to function properly (it also requires 1.4 to compile, but the compile part should be easy to fix). 2) It involves lying to Java2D about almost everything. The patch tells Java2D it is working in sRGB when in fact it is working in what ever colorspace the user requested. This seems to be needed for two reasons. First, if you don't do this it appears to convert everything to 'sRGB' composite and covert back! Second (which is probably related to first) performance. As it turns out lying in this manner isn't too hard so the patch works :)
Comment 3 Thomas Deweese 2005-03-22 12:15:48 UTC
Reassigning all open bugs to the development list. Sorry for the mass mailing.
Comment 4 Helder Magalhães 2009-03-30 01:26:43 UTC
(In reply to comment #2) > 1) It requires JDK 1.4 to function properly (it also requires > 1.4 to compile, but the compile part should be easy to fix). Update: Java version 1.4 is now the minimum required so this may worth a retry...? :-) I haven't tested if the patch still applies cleanly, though: given its date, it will likely need some modification(s).