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 2006/01/25 10:34:09 UTC
DO NOT REPLY [Bug 38379] New: - Transcoder Tutorial error for KEY_WIDTH
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=38379>.
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=38379
Summary: Transcoder Tutorial error for KEY_WIDTH
Product: Batik
Version: 2.0
Platform: Other
URL: http://xml.apache.org/batik/rasterizerTutorial.html
OS/Version: other
Status: NEW
Severity: trivial
Priority: P2
Component: Web Site
AssignedTo: batik-dev@xmlgraphics.apache.org
ReportedBy: jpmoresmau@hotmail.com
The Transcoder tutorial on the batik web site give the following code snippet
for resizing the output:
t.addTranscodingHint(JPEGTranscoder.KEY_WIDTH, new Integer(100));
The KEY_WIDTH is actually on SVGAbstractTranscoder (some IDEs give a warning)
but in my tests this is refused at runtime with an IllegalArgumentException: the
javadoc states KEY_WIDTH is a Float:
t.addTranscodingHint(SVGAbstractTranscoder.KEY_WIDTH, new Float(100));
is the correct snippet
--
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 38379] - Transcoder Tutorial error for KEY_WIDTH
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=38379>.
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=38379
deweese@apache.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
------- Additional Comments From deweese@apache.org 2006-03-12 00:27 -------
Fixed in SVN
--
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