rmloh
asked on
How to Change a Bitmap size form delphi 3
How to Change a Bitmap size form delphi 3?
You just use
bmp.width := whatevervalue;
bmp.height := whatevervalue;
-Viktor
--Ivanov
bmp.width := whatevervalue;
bmp.height := whatevervalue;
-Viktor
--Ivanov
ASKER
I now how to do it i wont to save the image in my size to a
bmp file
bmp file
PLease explain yourself better next tim 'cuz I don't understand what ya mean...
Here is the way to save the bitmap....
MyBmp.SaveToFile(Filename) ;
-Viktor
--Ivanov
Here is the way to save the bitmap....
MyBmp.SaveToFile(Filename)
-Viktor
--Ivanov
ASKER
No i wont to save a bitmap in my size
I think, what rmloh is trying to say is:
He wants to change the size of a Bitmap and then save it to file with the new size.
Greetings, Oli
He wants to change the size of a Bitmap and then save it to file with the new size.
Greetings, Oli
You can create a temporary TBitmap, copy the stretched image (of the source) over using CopyRect or the like then save the temporary TBitmap using the SaveToFile method.
TC
TC
rmloh, I think you don't know what you are talking about. The other question you asked is messed up the same way this one is,,, YOu don't explain and just reject answers/... If you are not satisfied with the answer you should ask for further help and not just reject the answer... if I don't supply further help you just reject it then.... NExt time you bettter explain your situation 'cuz and tired of people not explaining completly what they want...
-Viktor
-Viktor
ASKER
The anserr is excellant but can you pleas tell my how
to Stretch and save to file.
to Stretch and save to file.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Oh, I forgot, make sure that you have a bitmap named test.bmp on your desktop in order for this to work....
-Viktor
-Viktor
ASKER
ok ok
Did it work?? If not just tell me what went wrong and I'll fix it.
-Viktor
-Viktor
Regards Barry