Page 1 of 1

Image size compare and resizing.

PostPosted: January 22nd, 2007, 9:55 am
by Anonymous
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?

PostPosted: January 22nd, 2007, 12:12 pm
by Johnny_Bit
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.

PostPosted: January 22nd, 2007, 1:12 pm
by Anonymous
sorry i'm just not very sure how do u compare the pixels thing.

PostPosted: January 22nd, 2007, 1:17 pm
by Kambiz
Briefly, you have to load the image in to a picture object and compare its width and height properties.