Code

Weck - Image Handler Class

Weck - Image Handler Class

Weck – 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.

Features:

  • Resize
    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.
  • Crop
    You can easy crop image and take any area you need to further using.
  • Auto-Caching
    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.
  • Flip
    You can easy flip image vertically, horizontally or in both directions.
  • Rotate
    You can easy rotate image at any degree you wont.
  • Opacity
    You can control opacity of your image via alpha channel or background.
  • Filters
    You can different filter like grayscale or contrast to make useful manipulations with image.
  • Effects Order
    You can rearrange order in which modifications are applying to original image.
  • Converter
    You can output image format to PNG or JPEG no matter what was original format.
  • Compressor
    You can change JPEG format quality and reduce file size.
  • Frame
    Wrap your images in a frames to apply a single style to all visual content.
  • Watermark
    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.
  • Text
    You can write texts on the image. Place them in any position and choose color, size and even connect your unique font.
  • Compatibility
    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.
  • Easy Modify
    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.
  • FREE GIFT
    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 Documentation
by
by
by
by
by
by