Image size compare and resizing.

Please discuss general Delphi programming topics here.

Image size compare and resizing.

Postby Anonymous » January 22nd, 2007, 9:55 am

Hi there, I'm a beginner in Delphi programming and need help.

Currently I need to upload a photo, take the size of the photo and compare with 320x240 and resize it if its over the limit.
Any help in getting the source codes?
Anonymous
 

Postby Johnny_Bit » January 22nd, 2007, 12:12 pm

Don't you read help files that come with delphi? don't you buy any book when buing delphi and not knowing how to do stuff? man, we're no live aid, we don't help on something that's ridicoulosly easy and put into almost all delhi books I know.
Johnny_Bit
VIP Member
VIP Member
 
Posts: 455
Joined: June 15th, 2003, 9:56 am

Postby Anonymous » January 22nd, 2007, 1:12 pm

sorry i'm just not very sure how do u compare the pixels thing.
Anonymous
 

Postby Kambiz » January 22nd, 2007, 1:17 pm

Briefly, you have to load the image in to a picture object and compare its width and height properties.
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: Bing [Bot] and 1 guest

cron