png to jpg linux command line 1

png to jpg linux command line

sudo apt-get install imagemagick

Here is what the above code is Doing:
1. We’re importing the Image class from the PIL module.
2. We’re opening the image using the Image.open() method.
3. We’re resizing the image using the resize() method.
4. We’re saving the image using the save() method.

Similar Posts