DescriptionWeck – class which makes working with images easier. It can change image in lot of ways and use cache system to optimize speed. It can handle unlimited number of images in a single cycle. Easy modify code with comments and documentation. Has logging system for recording events or debugging. Compatible with any php framework, can be used in any php system. To use it, create an object of this class, with image configurations. Then use object methods to display uploaded images. You can also use other administration methods to handle with website storages.
You can easy resize image to any dimension you need. Also you can use adaptive automatic resizing. Original uploaded image will be stored untouched so you always can manipulate with output as you wont.
You can easy crop image and take any area you need to further using.
You can easy flip image vertically, horizontally or in both directions.
You can easy rotate image at any degree you wont.
You can control opacity of your image via alpha channel or background.
You can different filter like grayscale or contrast to make useful manipulations with image.
You can rearrange order in which modifications are applying to original image.
You can output image format to PNG or JPEG no matter what was original format.
You can change JPEG format quality and reduce file size.
Wrap your images in a frames to apply a single style to all visual content.
You can place watermark image above the main image. Define size and position by your self. Again, original is saved so you can create any combinations you need.
You can write texts on the image. Place them in any position and choose color, size and even connect your unique font.
Apply added to the image effects in an order you need. For example, you may want to place watermark before or after grayscale the image. Mix combinations and setup best order.
Class will automatically creates cache from processed images, so you system will be work fast and will not be wasting time processing image again in each output request.
As any PHP class, this one is compatible with any PHP system as well. You can connect it to any framework, configure following documentation and start to use.
Logging and Managing
To help you monitor images actions or debug code Image Handler have logging system that will write down current events. Also you have bunch of functions that allowing you to easily manage cache and log mechanisms.
Class have good comments and logic structure, short notice and contacts. This will allow your programmer easy to modify functionality. Please, fill free to mail me.
You can get a free gift if you will contact me and share your experience of using this item. Your story may help to improve item quality, and you will get this improvements for free with the next update. Dependently from use of your experience I will define “size” of the gift. I can send you any item from my library for free, give you free freelance hours or more.
Read Class Documentation
Read Editor Documentation