in reply to Converting PNG to JPEG
I'd use GD
That might be a bad idea, though, if your image uses more than 8-bit color--if not, then GD is a great tool.