Using commands for SVG batch format conversion

Source: Internet
Author: User
Tags imagemagick

Take time to try Gnome3, found the default theme of the icon is very beautiful, the following figure:

Just downloaded a set. The results are all SVG format, although they can be viewed by using the SVG viewer provided by Adobe, but can only be seen in one view and cannot be browsed in bulk. Spent a lot of time looking for SVG batch format conversion software, the result is not a charge is not to batch processing, is very depressed, finally, had to use Linux to provide ImageMagick (now ImageMagick also have Windows version, too lazy to install). ImageMagick is incredibly powerful, one command can handle batch conversions in the SVG to PNG format:

Find./faenza-name *.svg-exec mogrify-format png-resize 64x64 {} \;

This command searches all the SVG files in the Faenza directory, and then executes the ImageMagick mogrify command to convert the SVG batch into a 64*64-sized PNG picture. Isn't it cool?

ImageMagick Introduction

ImageMagick (TM) is a free software that creates, edits, and synthesizes pictures. It can read, convert, and write pictures in a variety of formats. Picture cutting, color replacement, application of various effects, picture rotation, combination, text, line, polygon, ellipse, curve, attached to picture stretching rotation. ImageMagick is free software: full source open, free to use, copy, modify, publish. It complies with the GPL license agreement. It can run on most operating systems. ImageMagick supports at least 90 kinds of picture Formats!

Linux can do a lot of things that Windows doesn't seem to be able to do! Recommend everyone to join the Linux camp quickly!

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.