I want to convert every uploaded image to png. I think gd is a good approach for that, because it drops the metadata of the images, and does not try to parse it. I read that ImageMagick maybe has malware vulnerability on some linux servers...
I have 2 questions:
- Does gd drop the PNG metadata too if the original file was PNG, or should I use pngcrush after converting?
- Do I have the same quality loss as by saving JPEG files, or is the PNG format much better?