You are viewing a plain text version of this content. The canonical link for it is here.
Posted to batik-dev@xmlgraphics.apache.org by bu...@apache.org on 2007/11/23 16:33:05 UTC
DO NOT REPLY [Bug 43950] New: - -indexed option not show in
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=43950>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=43950
Summary: -indexed option not show in
Product: Batik
Version: 2.0
Platform: Other
URL: http://xmlgraphics.apache.org/batik/tools/rasterizer.htm
l
OS/Version: other
Status: NEW
Severity: normal
Priority: P2
Component: SVG Rasterizer
AssignedTo: batik-dev@xmlgraphics.apache.org
ReportedBy: tech@robertjdavis.co.uk
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: batik-dev-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: batik-dev-help@xmlgraphics.apache.org
DO NOT REPLY [Bug 43950] - -indexed option not shown in help on parameter list
Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=43950>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=43950
tech@robertjdavis.co.uk changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|-indexed option not show in |-indexed option not shown in
| |help on parameter list
------- Additional Comments From tech@robertjdavis.co.uk 2007-11-23 07:37 -------
In batik-rasterizer command line help and on the web at:
http://xmlgraphics.apache.org/batik/tools/rasterizer.html
The option -indexed is NOT shown.
This option enables bits per pixel to be defined for the resulting bitmap
generated by the rasterizer from the svg.
This is useful if anti-aliasing is not wanted or required for the resulting
bitmap output image. Using an index of 1 is monochrome and therefore will
disable anti-aliasing.
See also post "How to turn anti-alias off when using rasterizer" below:
http://mail-archives.apache.org/mod_mbox/xmlgraphics-batik-users/200312.mbox/%3C20031202000548.95964.qmail@web13505.mail.yahoo.com%3E
I found that setting the rasterizer "-indexed" parameter to 1
effectively turns off anti-aliasing as it forces there to be only 2^1=2
colors in the result PNG image:
java -jar batik-rasterizer.jar -indexed 1
The indexed parameter is not listed on the rasterizer web docs:
http://xml.apache.org/batik/svgrasterizer.html#using
But it is listed when running the rasterizer at the command line:
"-indexed (1|2|4|8)
Reduces the image to given number of bits per pixel using an
adaptive pallete, resulting in an Indexed image. This is
currently only supported for PNG conversion."
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: batik-dev-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: batik-dev-help@xmlgraphics.apache.org