Skip to content
Advertisement

Tag: resize

Resize PNG image in PHP

I’m getting a no image display when resizing PNG however the following code works for JPEG. I’ve put the headers in but for some reason I’m doing something wrong for png images. Answer Last argument in imagepng($image_p, null, 100) should be between 0 and 9.

Advertisement