\Phalcon\Image\Adapter\GD 1x1 empty file

Hi evryone,

I have problem with \Phalcon\Image\Adapter\GD class... each time when I want to resize or crop the photo (jpg, png) it's generating 1x1 px image

Other methods (blur, pixelate, flip...) work fine.

Log is clear without any errors.

Can you provide the relevant code?


It was my mistake. I woudlike to make thumbnail from file which didn't have read perms.