diff --git a/ImageTypeconverter/imagetypeconverter.py b/ImageTypeconverter/imagetypeconverter.py new file mode 100644 index 0000000..93c299e --- /dev/null +++ b/ImageTypeconverter/imagetypeconverter.py @@ -0,0 +1,6 @@ +from PIL import Image +import os +#current format the image is in +img=Image.open('imagename.jpg') +#desirable format +img.save('imagename.png') \ No newline at end of file diff --git a/README.md b/README.md index eccf46f..bb038b3 100644 --- a/README.md +++ b/README.md @@ -55,4 +55,4 @@ This is a collection of short Python scripts to solve and automate tasks and sim 35 | [**SMS-SENDER**](https://github.com/CopyrightC/Python-scripts-collection/blob/master/SMS_SENDER/main.py) | A python script that uses Tkinter and Twilio to send SMS. | twilio| 36 | [**Password Validator**](https://github.com/Mannuel25/Python-scripts-collection/tree/master/Password%20Validator) | A script validates passwords to match specific rules. A valid password is one that conforms to some specific rules. | None | 37 | [**RSA Communication**](https://github.com/fnplus/Python-scripts-collection/tree/master/RSA_Communication) | Independent Python script that allows RSA communication. | None | - +38 | [**Image Type Converter**](https://github.com/jothivarshini/Python-scripts-collection/tree/master/ImageTypeconverter)| Converts a given image format to the desired image format. | Pillow |