There’s an incredible technique that makes it possible to convert Pillow images to NumPy arrays with just two memory copies! Wait, what do you mean “with only two memory copies”? Isn’t it possible to convert …
Continue readingTag: Python
Python Libraries to Compress & Resize Images Fast
Python is a great and accessible programming language for automation scripts and components of web services. Whenever you code in this or another programming language, you can include Python libraries into your project and utilize …
Continue readingThe fastest production-ready image resize out there, part 1: general optimizations
In the introductory article, I provided a comprehensive summary of the challenge. The story turned out to be rather long and a bit half-baked: it did not contain a single line of code. However, it’s …
Continue reading