Note: You must be registered in order to post a reply. To register, click here. Registration is FREE!
T O P I C R E V I E W
ksv1991
Posted - Aug 20 2011 : 02:40:20 Hello,
I have tried ImageEnProc.Rotate procedure, but i receive message "Floating point division by zero" in module ImageEnProc on row: per := 100 / (dst.Height);
Why can it happen?
5 L A T E S T R E P L I E S (Newest First)
fab
Posted - Aug 20 2011 : 08:33:58 Please execute this:
If you want to change the background of the image then there are other options, depending by the image (has it alpha channel? has it a specific previous background color?).
Please add details, code and images if possible.
ksv1991
Posted - Aug 20 2011 : 05:14:43 Problem was solved independently. It was not working, because wrong image was loaded in the ImageEnProc.
But now there's another problem: I can not change the background color of the rotated image. I put the value of: 0, 255, 1, clWhite, but background is always black.
fab
Posted - Aug 20 2011 : 04:02:54 Hello, please add other details:
1) is the TImageEnProc component attached to another component like TImageEnView, TIEBitmap, etc...?
2) which is the size of the image? How have you loaded it?