|over 1 year ago||about 1 month ago|
|GNU General Public License v3.0 only||MIT License|
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
We haven't tracked posts mentioning php_opencv yet.
Tracking mentions began in Dec 2020.
Creating a package, looking for feedback and suggestions
2 projects | reddit.com/r/laravel | 3 Aug 2022
How do you handle image optimization, resizing and thumbnail in Laravel?
6 projects | reddit.com/r/laravel | 18 Jan 2022
A solution for self hosted in PHP is Glide: https://glide.thephpleague.com6 projects | reddit.com/r/laravel | 18 Jan 2022
We’ve made our own image converting service using Glide (https://glide.thephpleague.com). Projects sends image to service, it does it job and returns it, project saves it locally
ImageMagick (6.9) vs GD (2.2) on PHP 7.4 (in 2021): Pros & Cons in terms of Security, Performance, and Color Profile Support
3 projects | reddit.com/r/PHP | 16 Aug 2021
You should check out Glide. It provides an easy to use RESTful API for dynamically transforming images on the fly, handles caching them in Flysystem automatically, is easy to integrate in most modern frameworks, and allows you to secure the endpoint via signed URLs, presets and maximum sizes.
Srcset and Sizes (2014)
1 project | news.ycombinator.com | 11 Aug 2021
This is some pretty powerful stuff. Here's a more information-dense and up-to-date rundown of srcset and sizes: https://bitsofco.de/the-srcset-and-sizes-attributes/
Notably, it shows how it's possible to use different images based on a portrait or landscape layout of the viewport, which OP doesn't cover. That's not always useful but it's good to know it's there when you might want to use it.
I was recently (well, several months ago) tasked with improving the Google PageSpeed scores on mobile for a site which has a lot of image-heavy pages. The end solution involved adapting all images to use a image with a WebP alternative for browsers that can show it (Google's tools like it when you use their near-proprietary image format; go figure), plus using srcset and sizes (which can be used on tags inside of tags as well as tags) plus a script which resizes and caches resized versions of large images based on URL parameters (basically an ersatz Glide ; I wish I had known it existed when I started). The end result severely reduced page weight for mobile visitors and was successful in raising our PageSpeed scores and appeasing my client.
What are some alternatives?
Intervention Image - PHP Image Manipulation
Imagine - PHP Object Oriented image manipulation library
Image Hash - 🌄 Perceptual image hashing for PHP
PHP Image Workshop - ImageWorkshop is a PHP5.3+ library that helps you to manage images based on GD library
GIF Frame Extractor - GifFrameExtractor is a PHP class that separates all the frames (and their duration) of an animated GIF
GIF Creator - GifCreator is a PHP class that creates animated GIF from multiple images
Image Optimizer - Image optimization / compression library. This library is able to optimize png, jpg and gif files in very easy and handy way. It uses optipng, pngquant, pngcrush, pngout, gifsicle, jpegoptim and jpegtran tools.
Image With Text - Create images with embedded text using advanced typography
FasterImage - :racehorse: find the size of an image without downloading the whole file. Supports batch requests.