Shrinking of photos

Please discuss general Delphi programming topics here.

Shrinking of photos

Postby Anonymous » February 1st, 2007, 7:17 am

Hi. Is there any way for me to shrink a photo to a certain size?

I've tried to divide the width n height by a certain integer but it turned out that I'm actually cropping the photo and cutting away the picture.
Anonymous
 

Postby Kambiz » February 1st, 2007, 1:43 pm

Create a new bitmap on your desired dimensions, and stretch draw your image on its canvas.
Kambiz
User avatar
Kambiz
Administrator
Administrator
 
Posts: 2424
Joined: March 7th, 2003, 7:10 pm


Return to Delphi Programming

Who is online

Users browsing this forum: No registered users and 1 guest

cron