Converting Larage SVG to Smaller JPG's

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
Bonzo
Posts: 2971
Joined: 2006-05-20T08:08:19-07:00
Location: Cambridge, England

Re: Converting Larage SVG to Smaller JPG's

Post by Bonzo »

Try this:

Code: Select all

convert -density 300 USA_Counties.svg -resize 1000x1000 -crop 200x200 -quality 100 cropped.jpg
-density = Sets the input quality in dpi e.g. 300
-resize = Resize the image in this case to 1000px x 1000px
-crop = Size to crop to ( you will have remainders if this size does not fit equaly into the resized image )
-quality = Output quality ( 100 = best )
Post Reply