Reply to resize, keeping ratio, fill space with color

resize, keeping ratio, fill space with color new!
by temardo, 18 years, 1 month ago
i dont want to crop a pic, but fit in specific x and y with keeping the ratio and the space filled with a specific color.

example:
- target pic-size 100x70
- pic is resized (by keeping ratio) to 100x50. then it should be centered in y and the space (10px over and under the image) should be filled with red...

is this function included in the class?Reply

Your reply

Name *
Email 
Title *
Text *
CAPTCHA image
Enter the code displayed on the image:
Click on the image to generate another one if it is hard to read it. The case is important