Buy the full source code of application here:
Show More Show Less View Video Transcript
0:00
uh hello guys welcome to this video so
0:02
in this video I will show you how to
0:04
convert any image from one format to
0:07
another inside the command line so there
0:09
is a library that you can use image
0:11
magic so I have this image here if you
0:14
see it's a JPG image and I will be
0:16
converting this image to a PNG file so
0:19
if I go to the properties here you will
0:21
see it's a JPG file and uh this library
0:24
is available free
0:26
opensource it is called as image magic
0:29
you can simply install it just download
0:32
it's a free open-source uh go to the
0:35
download option it's available for Linux
0:37
Mac
0:39
and so if you just you can inside the
0:43
Windows machine you simply write here
0:45
magic and uh once you type this you will
0:48
see image magic you can access it inside
0:50
the CLI so there is a simple command
0:53
here you just write magic followed by
0:55
the name of the file which is 1 jpg and
0:58
then followed by the output file name so
1:00
if I want to convert the JPG into PNG so
1:03
the command will look something like
1:05
this so as I just enter it you will see
1:08
it will create a new file now this is
1:10
actually it has converted this file to a
1:13
PNG file if I go to properties here you
1:16
will see PNG so very
1:19
simply so you can even convert this to
1:23
any
1:24
format so one dot
1:27
PNG if I again want to convert this back
1:30
to JPG I can write this command here you
1:33
will see that so once again it will
1:35
create this output jpg file so you can
1:39
access it any
1:40
extension so you can just
1:43
say TIFF which is again image extension
1:48
so you can create this file as well you
1:50
can see
1:52
that you can even convert this PNG to
1:58
SVG from PNG to
2:02
SVG so you will
2:09
see so it actually converts your
2:12
scalable vector graphics so
2:14
this so very simply so this is actually
2:18
the library that you can directly use to
2:21
build out a image converter you can
2:23
convert from any image format to another
2:26
so thank you very much for watching this
2:28
video and also check out my website
2:30
freemediatools.com uh which contains
2:32
thousands of tools
#Programming
#Software
#Multimedia Software
