Search found 12 matches

by immewnity
2011-06-17T12:57:49-07:00
Forum: Users
Topic: SVG rasterizing results in jagged edges
Replies: 6
Views: 12426

Re: SVG rasterizing results in jagged edges

My guess is that it is SVG vs RSVG. The latter usually works better. This is what I get from my command using IM with RSVG: http://www.fmwconcepts.com/misc_tests/Stormfront_symbol.png It is also possible that your result is an issue with PNG output as the PNG coder has been improving the PNG ...
by immewnity
2011-06-17T12:43:32-07:00
Forum: Users
Topic: SVG rasterizing results in jagged edges
Replies: 6
Views: 12426

Re: SVG rasterizing results in jagged edges

You might try downloading and installing RSVG and then re-install the latest IM. Try using my command line, but substitute the exact numbers rather than use variables and see what happens. What platform are you on? My host says that they won't install RSVG, and they don't allow root access. I ...
by immewnity
2011-06-17T12:16:28-07:00
Forum: Users
Topic: SVG rasterizing results in jagged edges
Replies: 6
Views: 12426

Re: SVG rasterizing results in jagged edges

this works fine to get smooth edges on my IM 6.7.0.8 Q16 Mac OSX tiger: width=578 height=578 convert -density $width -background none Stormfront_symbol.svg -thumbnail ${width}x${height} ! Stormfront_symbol.png The only issue is that your black has changed to a light purple. Note the input image ...
by immewnity
2011-06-17T08:36:36-07:00
Forum: Users
Topic: SVG rasterizing results in jagged edges
Replies: 6
Views: 12426

SVG rasterizing results in jagged edges

Hello, I have ImageMagick set up on my wiki to convert SVG files to PNG (for inline usage), and I am getting a very strange result. The round edges of the SVGs are not, well, being round. They are being very jagged. http://pidgi.net/wiki/images/thumb/3/3f/Stormfront_-_TCG_set_symbol.svg/578px ...
by immewnity
2011-05-15T16:37:45-07:00
Forum: Users
Topic: SVG thumbnailing not scaling
Replies: 11
Views: 18335

Re: SVG thumbnailing not scaling

Yup, adding density worked! Thanks!
by immewnity
2011-05-15T16:37:08-07:00
Forum: Bugs
Topic: SVG thumbnailing not scaling
Replies: 2
Views: 5561

Re: SVG thumbnailing not scaling

That worked! I ended up putting the density to the width amount to keep ideal pixel density.
by immewnity
2011-05-15T14:10:12-07:00
Forum: Bugs
Topic: SVG thumbnailing not scaling
Replies: 2
Views: 5561

SVG thumbnailing not scaling

Hi,

I'm trying to thumbnail SVG to PNG for my wiki, and the thumbnail command seems to be breaking the process; the SVG will not upscale. This is with version 6.6.9-6. More details can be found on the support board here and at MediaWiki Users.
by immewnity
2011-05-15T13:54:05-07:00
Forum: Users
Topic: SVG thumbnailing not scaling
Replies: 11
Views: 18335

Re: SVG thumbnailing not scaling

fmw42 wrote:what version of IM are you using?
6.6.9-6 (April 26, 2011)
by immewnity
2011-05-15T12:20:57-07:00
Forum: Users
Topic: SVG thumbnailing not scaling
Replies: 11
Views: 18335

Re: SVG thumbnailing not scaling

{} may need to be {$width}x{$height} in PHP. but I don't see any PHP exec command, so I am not sure what to tell you. Some PHP or whatever API you are using expert will likely need to help you. You can always try replacing the variables with the actual values in a test case and see if that works ...
by immewnity
2011-05-15T06:14:00-07:00
Forum: Users
Topic: SVG thumbnailing not scaling
Replies: 11
Views: 18335

Re: SVG thumbnailing not scaling

I think I'm using a PHP exec command, as it's in a PHP file under PHP coding. My exact command is what I posted, plus what MediaWiki needs: $wgSVGConverters = array( 'ImageMagick' => '"/usr/include/ImageMagick/bin/convert" -background none -thumbnail ${width}x${height}\! $input PNG:$output', ); I ...
by immewnity
2011-05-14T16:47:27-07:00
Forum: Users
Topic: SVG thumbnailing not scaling
Replies: 11
Views: 18335

Re: SVG thumbnailing not scaling

try putting your input right after the convert. it may or may not help also try replacing $widthx$height\! with ${width}x${height}\! as the x may be read as part of widthx, ie. as $widthx as the first variable have you checked to see that width and height variables are actually the desired values ...
by immewnity
2011-05-14T14:44:06-07:00
Forum: Users
Topic: SVG thumbnailing not scaling
Replies: 11
Views: 18335

SVG thumbnailing not scaling

Hi, I'm using ImageMagick on my wiki , and am trying to thumbnail an SVG file using "/usr/include/ImageMagick/bin/convert" -background none -thumbnail $widthx$height\! $input PNG:$output with the $variables automatically filled in with MediaWiki. However, all attempts at resizing result in simply an ...