Conform picture to 8x12 format
Posted on 2011-03-09
I've used some of the PHP image functions and have been quite impressed. I was wondering if it could help me with this project. I have .jpg files all of different sizes and proportions. I need to print them all on 8x12 prints. What I have been doing is using my calculator and enlarging the canvas and adding black bars where space needs to be filled, so that it fulfills the 8x12 ratio.
I can't help but think this could be done programatically using PHP.