jpg to png ubuntu

How to convert PNG to JPG on Ubuntu

In ubuntu, you can convert the PNG file into the JPG file by using the command line. This trick will help you to convert jpg to png vice-versa without using the Internet.

By using the ‘convert‘ command, you can convert PNG to JPG on ubuntu and vice versa; by using the command line.  But make sure you have the ‘ImageMagick‘ package installed on your system. You can also convert png to any image extension using the convert command.

Steps to Convert PNG to JPG Ubuntu:

(1) Open terminal and type the below command to install imagemagick package.

sudo apt-get install imagemagick

convert png to jpg ubuntu

(2) Ones Installed you can convert PNG file to JPG file using ” convert ” command like this:
convert [image-png][image_output-jpg]

png to jpg on ubuntu


convert crazylogo.png crazylogo.jpg
Here ‘crazylogo.png‘ is the input file name and ‘crazylogo.jpg‘ is the output file that is converted into jpg. You can give any name of the output file with .jpg extension.
png to jpg ubuntu
jpg to png ubuntu
(3) You can also convert Image file from JPG to PNG by switching the position:
convert [image-jpg] [image-png]

Also Read: How to install network speed indicator on ubuntu


convert photo.jpg photo.png
convert crazy.jpeg crazy.png

(4) You can convert any image extension to any form by using convert command.

In this Way, you can convert ubuntu jpg to png command line.

About Imagemagick:

ImageMagick is a free and open-source software suite for displaying, creating, converting, modifying, and editing images. Use of ImageMagick is to create, edit, compose, or convert bitmap images. It can read and write images in a variety of formats including PNG, JPEG, GIF, HEIC, TIFF, DPX, EXR, WebP, Postscript, PDF, and SVG. You can also use ImageMagick to resize, flip, mirror, rotate, distort, shear and transform images, etc.

The current release is ImageMagick 7.0.10-3. It runs on Linux, Windows, Mac Os X, iOS, Android OS, and others.

Also Read:- Enable HandWrite Mode in Andriod

Watch the Video:-

Leave a Reply

Your email address will not be published.