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 [EMAIL PROTECTED] changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|-indexed option not show in |-indexed option not shown in | |help on parameter list ------- Additional Comments From [EMAIL PROTECTED] 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/[EMAIL PROTECTED] 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
