Skip to content

SathiraSriSathsara/image-coverter-for-linux

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

About this script

The script will check if ImageMagick is installed, if the input file is specified and exists, if it is a PNG image, and then it will convert it to SVG format using the convert command from ImageMagick. The output file will have the same name as the input file, with the extension changed to .svg.

Install

Install in Ubuntu:

git clone https://github.com/SathiraSriSathsara/image-coverter-for-linux.git
sudo apt-get update
sudo apt-get install imagemagick

Commands

on your Ubuntu machine, and make it executable using the command:

chmod +x png-to-svg.sh

Then, to convert a PNG file to SVG format, run the script with the PNG file as an argument, like this:

./png-to-svg.sh input_file.png

Sathira Sri Sathsara @ 2023

About

Script to convert PNG files to SVG format using ImageMagick.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages