Image Filter Error

Hi

When doing resizing on the image, I got the error below
gd-png: fatal libpng error: IDAT: CRC error
gd-png error: setjmp returns error condition 22014/05/06 10:45:55
[error] 6137#0: *4879 gdImageCreateFromPngPtr() failed while sending to
client, client: x.x.x.x, server: my.hostname.com, request: “GET
/r/5270146_201306300555490402.png HTTP/1.0”, upstream:
http://172.16.0.78:80/5270146_201306300555490402.png”, host: “backend”,
referrer: “referer page”

My configuration
expires 1y;
image_filter_buffer 5M;
image_filter resize $1 $2;
proxy_pass http://backend1/$3;
error_page 415 = /empty;

Please kindly help

Thank you

HI,

Thanks for your answer. However If I resize it to the bigger size, it’s
working fine

On Thursday, May 8, 2014 11:44 AM, Nicholas Sherlock
[email protected] wrote:

On 6 May 2014 16:11, Indo P. [email protected] wrote:

Hi

When doing resizing on the image, I got the error below
gd-png: fatal libpng error: IDAT: CRC error

I’m pretty sure this means that your PNG image file is damaged (the CRC
isn’t correct). Try opening and resaving your PNG in an image editor to
regenerate the CRC.

Cheers,
Nicholas Sherlock

On 6 May 2014 16:11, Indo P. [email protected] wrote:

Hi

When doing resizing on the image, I got the error below
gd-png: fatal libpng error: IDAT: CRC error

I’m pretty sure this means that your PNG image file is damaged (the CRC
isn’t correct). Try opening and resaving your PNG in an image editor to
regenerate the CRC.

Cheers,
Nicholas Sherlock