masterexploder / PHPThumb

PHP Thumbnail & Image Manipulation Library
http://phpthumb.gxdlabs.com
980 stars 264 forks source link

show() display only a part of image #102

Closed remiheens closed 11 months ago

remiheens commented 10 years ago

Hi,

When i try to upscale an image, this image is output partly, and when I try save() and display saved image, image is complete.

$thumb = new PHPThumb\GD($source.$file, array('resizeUp'=>true), array(
    new PHPThumb\Plugins\Sharpen()
));

$thumb->adaptiveResize($width, $height)->save($dir.$file)->show();

First hit is executed via apache and php, second hit show the generated image with nginx.

Do you know why this happens ?