[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 264
  • Last Modified:

Best solution to create Dynamic Images?

Hi Experts,

What is the best solution to create Dynamic Images using data from my MySQL database?

1. PHP's built-in implementation? located here :http://php.net/manual/en/book.image.php
2. ImageMagick?
3. GraphicsMagick?


Thank you so much for your time.
0
Dido123
Asked:
Dido123
  • 5
  • 2
  • 2
  • +4
2 Solutions
 
Avinash ZalaWeb ExpertCommented:
First one....

Addy
0
 
AlexanderTorssonCommented:
GD is ok. but i would use Imagick because i prefer it.. but that is a personal choise :)
0
 
jayarjoCommented:
GD is best by quality to availability ratio, since you are not guaranteed that others (which are extensions) will be available on the arbitrary web server out of the box. Actually some hosting companies list ImageMagick in their FEATURE list :)
0
Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

 
Rok-KraljCommented:
Because of the availability, I'd go for GD. ImageMagick and the third one have to be installed on the server.
0
 
Dido123Author Commented:
I don't care about the availability as much as I care about the quality and performance.
0
 
Rok-KraljCommented:
If so, ImageMagick is right answer.
0
 
animecycCommented:
I would actually use Google Chart Tools to do this, you simply feed data to Google Chart Tools and it spits back nicely formatted charts for you to use. Go here: http://code.google.com/apis/charttools/
0
 
jayarjoCommented:
ImageMagick has more functionality. But 99% php+image tasks do not need that. So why bother?

Quality and Performance are not the right criteria, since all of those solutions are pretty qualified and perform good enough (if anyone got any exact benchmark result tables, I'd be glad to see them). So the only two criteria worth to consider would be availability and functionality. If you got a task and all three libraries can handle it, choose GD. If there is something, that GD can't do - choose ImageMagick, etc.
0
 
jayarjoCommented:
Just a quick benchmark example here: http://blog.liip.ch/archive/2005/10/06/benchmarking-imagemagick-vs-gd.html

"I had to compare the performance of GD, ext/imagick and ext/magickwand for reading and merging two alpha-channel PNG24 images and writing them back to disk. Here's the result:

magickwand 17.48
imagick    17.57
gd         14.81
"

GD is the lightest, so it should be much more faster in doing things it can do.
0
 
jayarjoCommented:
0
 
Dido123Author Commented:
I'll be using it my typing test website so I can provide visitors with image that has their result so they can post it on their website, forum, emails.
0
 
jayarjoCommented:
So just put some text on image and save as image?

Pure GD task.
0
 
UtteCommented:
Yes use GD for that.
And possibly some cache soloution if nessesary...
0

Featured Post

Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

  • 5
  • 2
  • 2
  • +4
Tackle projects and never again get stuck behind a technical roadblock.
Join Now