Advertisement

04.29.2008 at 01:24PM PDT, ID: 23363521
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

9.1

What is the performance cost of using PHP with GD &/or ImageMagick?

Asked by iismatt in PHP Scripting Language, Linux, WebApplications

Tags: ,

Hello all, Two part question really...  I am designing a system that does two important tasks:

1) colorizes (using any color in the spectrum) white-colored shapes using the GD library
2) Adds a pattern to white-color shapes using the Image Magic library.

Example.
1. I have a circle;
2. I can click on the color red and the circle changes color to red.  
3. I now click on an camoflauge pattern and the circle now changes to a camoflauge color.

My question is, which process is more efficient?

A) Create the resulting image as a file and save it to the filesystem.  Then simply check if that file exists and display it when a user calls that color.  (Con: The file system could literally have millions of files.)
B) Do everything on the fly?  Use GD and ImageMagick to simply produce the colorized/patterned images on the fly when needed. (Con: Performance is 1,000,000 people access this functionality at once)

Please keep in mind that simply changing colors using CSS is not an option AND the site will have excess of 100,000 people on at a time.

Thanks a bunch!Start Free Trial
[+][-]04.29.2008 at 07:11PM PDT, ID: 21467650

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: PHP Scripting Language, Linux, WebApplications
Tags: PHP, UNIX, Any
Sign Up Now!
Solution Provided By: RaulDias
Participating Experts: 3
Solution Grade: A
 
 
[+][-]05.03.2008 at 09:08AM PDT, ID: 21492766

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]05.05.2008 at 08:00AM PDT, ID: 21500509

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628