1 Commits

Author SHA1 Message Date
Danack 92408b5a65 Prevent resizing an image to 0 width/height.
ImageMagick does not support zero width/height images. Some places where images could be created with zero width/height are protected by ImageMagick e.g. Imagick::newPseudoImage(). Other places need to be protected by Imagick. I'm about 50% sure this is the correct thing to do, rather than throwing an ImagickException. Fixes #174.
2016-12-06 18:46:43 +00:00