i just discovered that getimagesize taking a lot of resources of the server, it does hi usage on disks, i need to solve this matter by resizing pics that are not in the pre-set format 120x 90,
users are uploading pics on the website and i resize them to 120x90, if pic has different proportions, i keep it , i don't screw it , but in this case i need to check resolution on each load.
i got information that i need to resize these not standard pics to the flat 120 x 90 then i don't need to check resol., but i don't wanna screw them
is there any php function that can resize everything to my 120 x 90 , if pic has different proportions, it must put let say white color by the sides, wanna fill that blank space with my prefered color, is there anything that can work for me ? also need to have a chance to convert from png, jpg, gif, bmp, if possible
right now i'm using GDI php functions...
thanx