instead of using GD functions directly. Get the toolkit class and use the apply method to convert images to new formats.
Active
1.0
Code