c8bit / web-mage Goto Github PK
View Code? Open in Web Editor NEWA small Python package for optimizing images for the web. Can be used as an import or a CLI utility.
Home Page: https://pypi.org/project/web-mage/
License: MIT License
A small Python package for optimizing images for the web. Can be used as an import or a CLI utility.
Home Page: https://pypi.org/project/web-mage/
License: MIT License
Make sure web-mage works with previous versions of python 3, and potentially also with python 2.7
Write some basic documentation in README.md
so people know how to use this library.
Implement (at least) some of the good Python project practices outlined in the following article:
Right now there's only one test that is a very simple run-through of the 80% case. Should add more coverage and break tests down by function and by component.
Implement max_size param which will dictate the maximum file size of the resulting file. This constraint should allow user to leave out optimization percentages or max dimensions so that they can maintain higher quality when desired.
The exif metadata that stores rotation information in the original image is not taken into account after images are optimized. The metadata should still be removed since it can take up a lot of space (and since optimized images should be as lean as is practical). Need to figure out some way to re-orient the image data based on the original image's metadata.
Pillow doesn't take care of this because it disregards the metadata. Need to find a way to read this and then edit the image data accordingly.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.