Speed difference between GD 2.0.1 and GD 2.0.12?

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
s3rg1o
Forum Commoner
Posts: 32
Joined: Sun Feb 16, 2003 4:58 pm

Speed difference between GD 2.0.1 and GD 2.0.12?

Post by s3rg1o »

Hi, I wanted to know if there are any significant resize speed changes from GD 2.0.1 to GD 2.0.12 as I will just use php's native GD support, I know that updates like 2.0.12 have anti-aliasing support but I just wanted to know if there was a speed increase
pootergeist
Forum Contributor
Posts: 273
Joined: Thu Feb 27, 2003 7:22 am
Location: UK

Post by pootergeist »

negligible as far as I know. Your best bet for upping the speed that GD runs at is to format all file as .gd2 as that would remove a process time devoted to conversion. In a realistic situation using the gd2 file format is unlikely to be successful though - only really excels in layered image building processes.

You will though (if you're looking in that direction) notice better clearing of the memory used for GD tasking in higher builds - assuming you do your code properly in the first place.

Suffice to say, simply upgrading your GD version is NOT going to make your scripts faster - you'd need to optimize and maybe amend your scripts for that.
Post Reply