Access the answers to your technology questions today.
Subscribe Now
30-day free trial. Register in 60 seconds.
What Makes Experts Exchange Unique?
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.
Try it out and discover for yourself.
Subscribe Now
30-day free trial. Register in 60 seconds.
Join the Community
Give a Little. Get a Lot.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Join the Community
by: MasonWolfPosted on 2007-09-13 at 11:55:20ID: 19886178
Do you want black (or a different color) bars added to the top and bottom if the image is shorter than 192 after the initial resize? Do you want to simply serve the image on the fly as it's needed, save it to a new filename, or replace the file that it takes as input?
What's the largest input size image you would have? I only ask because GD is constrained by the memory limits on php. In default settings, GD can't handle anything with an area greater than 1 million pixels (a square of 1024x1024).
Unlike IM, GD has different functions for working with different image filetypes. What types would you have for inputs, and what type do you want as the output?
Given this information, I believe there are a number of php experts at ee who can craft a solution. (Possibly even me if I brush up on the php GD functions) I'm not sure how many would be willing to do it for 125 points though. You might need to up the value of your question if you have the points available to spend on it. It's trickier than you'd probably think considering how easy IM made it.
Hope you get your answer!