An Interest In:
Web News this Week
- April 2, 2024
- April 1, 2024
- March 31, 2024
- March 30, 2024
- March 29, 2024
- March 28, 2024
- March 27, 2024
November 8, 2022 05:14 pm GMT
Original Link: https://dev.to/aissalaribi/cmagick-v014-13o2
cmagick v.0.1.4
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 cmagickcmagick.convert('website.jpg', 'website.webp')
To resize images
from cmagick import cmagickcmagick.resize('website.jpg','100x100','website.jpg')
To convert and save in a defined directory
from cmagick import cmagickcmagick.convert('website.jpg', '/Desktop/newname.webp')
Thank you for reading this small post!
Original Link: https://dev.to/aissalaribi/cmagick-v014-13o2
Share this article:
Tweet
View Full Article
Dev To
An online community for sharing and discovering great ideas, having debates, and making friendsMore About this Source Visit Dev To