Skip to content

Instantly share code, notes, and snippets.

View sadranyi's full-sized avatar

Samuel Adranyi sadranyi

View GitHub Profile
@sadranyi
sadranyi / ImageManipulator.php
Created November 16, 2012 19:22
Image manipulation class, provides cropping, resampling and canvas resize
<?php
class ImageManipulator
{
/**
* @var int
*/
protected $width;
/**
* @var int