xmlgraphics-batik-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 44276] [PATCH] Output resolution for SVG rasterizer
Date Fri, 21 Jan 2011 16:49:43 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=44276

--- Comment #2 from David Turner <eqm@blueyonder.co.uk> 2011-01-21 11:49:41 EST ---
When I tried the patch using the following command line:

java -jar batik-rasterizer.jar -maxw 398 -maxh 256 -q 0.99 -dpi 216 -m 
image/jpeg *.svg

I found that the width and height properties were ignored but that the dpi was
now correct (many thanks!)

I modified the ImageTranscoder.java file and moved the w, h assignments back to
their original state (and before resolutionFactor) and left the new
resolutionFactor as patched (minus the w/h modifications). Works great now.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

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


Mime
View raw message