Hi guys!
Just sharing the new release of cmagick.
What's new?
The functionalities are exactly the same:
- Convert images
- Resize images
The main difference is about the test coverage of 100% and the removal of hard sys exit command that is unnecessary.
Why I have build cmagick?
I explained the reasons in the following post https://dev.to/aissalaribi/cmagick-v012-hn8
The main features of cmagick v.0.1.4
- Converting images to the following formats (bmp,eps,gif,tiff,webp,wbmp,tga,png,jpg,jpeg,hdr,exr)
- Resizing Images
- Support path arguments
Simple usage
Examples:
To convert images
from cmagick import cmagick
cmagick.convert('website.jpg', 'website.webp')
To resize images
from cmagick import cmagick
cmagick.resize('website.jpg','100x100','website.jpg')
To convert and save in a defined directory
from cmagick import cmagick
cmagick.convert('website.jpg', '/Desktop/newname.webp')
Thank you for reading this small post🙏!
Connect with me on GitHub and pls put ✨star✨ for this package
Top comments (0)