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 ImageMag
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.
show more ...
|