Az Image Converter is a Python library that provides a simple and convenient way to convert images between different formats using the Pillow library.
pip install az_image_converter
- Convert JPG to PNG format.
- Convert PNG to JPG format.
from az_image_converter import JPGtoPNGConverter, PNGtoJPGConverter
# JPG to PNG conversion
input_jpg_file = "input_image.jpg"
output_png_file = "output_image.png"
converter = JPGtoPNGConverter(input_jpg_file, output_png_file)
converter.convert()
# PNG to JPG conversion
input_png_file = "input_image.png"
output_jpg_file = "output_image.jpg"
converter = PNGtoJPGConverter(input_png_file, output_jpg_file)
converter.convert()
This library uses the Pillow library for image processing.
This project is licensed under the MIT License - see the LICENSE file for details.
Contributions are welcome! If you find any issues or have suggestions for improvements, please feel free to create an issue or submit a pull request.
0.1.0 (see Changelog for release notes)
The Az Image Converter Library currently supports the conversion of JPG to PNG format and PNG to JPG format. It leverages the Pillow library to handle the image processing tasks efficiently.
You can easily install the Az Image Converter Library using pip. Just run the following command in your terminal or command prompt:
pip install az_image_converter
Yes, the Image Converter Library relies on the Pillow
library for image processing. It is a widely-used Python Imaging Library (PIL) that provides extensive support for various image formats.
Absolutely! Contributions to the library are welcome. If you find any issues, have ideas for improvements, or want to add new features, feel free to create an issue on the project's GitHub repository or submit a pull request.
If you have any feedback, please reach out to us at https://github.com/azeemprogrammer
Python, Machine Learning, Deep Learning, Data Science, Django, and Artificial Intelligence