cimage
cimage copied to clipboard
Server-side image resizing and cropping on the fly with caching of generated image-files using PHP.
I needed to use CImage class API to make and cache thumbnails programmatically, and I found [the useful "How it all works" page](https://cimage.se/doc/cimage-api) on the website. That page shows an...
Add support for resizing gifs and keeping animation frames. How to detect if gif is animated: http://php.net/manual/en/function.imagecreatefromgif.php#104473
Assume I don't want users downloading the original image, neither in it's original size. I suggest that if the following options are set, then calling "image.jpg" without any parameters, should...
We can add a function which adds logo at particular place. logo can be placed by default in the img folder. And if we add logo queryparam, logo should be...
would it be possible to render JPGs progressively? https://stackoverflow.com/questions/41732652/convert-jpeg-to-a-progressive-jpeg-in-php
Hello, is it possible to save the images based on the requested path to them? My cache folder started to grow really big. Example: https://example.site/img.php?src=uploads/avatars/234234234/avatar22.png Cache path should be: /images/cache/uploads/avatars/234234234/avatar22-cached-picture-something-234234.png
Fixes error "imagecolorsforindex(): Color index XXX out of range" by checking with the pallet size of the image.
Given an image, add a level of opacity to it, like this: https://stackoverflow.com/questions/14468405/change-the-opacity-of-an-image-in-php
Using the crop feature without parameters is not allowed but there is no error handling in place. Working example: https://dbwebb.se/image/bth-sommar-hav.jpg?w=800&h=200&nc&c