T O P I C R E V I E W |
giannidipie |
Posted - Feb 08 2012 : 09:58:59 Load a pgn file into a layer. Then apply to that layer Rotate := 90, or 180, or 270. You will see the alpha channel corrupted.
 |
6 L A T E S T R E P L I E S (Newest First) |
giannidipie |
Posted - Feb 09 2012 : 04:52:17 very fast response. now works correctly! thank you |
fab |
Posted - Feb 09 2012 : 01:54:54 Thank you, now I can replicate. Please send a private email to the support to get an updated version for tests. |
giannidipie |
Posted - Feb 09 2012 : 01:02:23 I have this code: then apply 3,4 times.....
ImageEnView1.CurrentLayer.Rotate := ImageEnView1.CurrentLayer.Rotate + 45; ImageEnView1.LayersFixRotations(); //ImageEnView1.Update;
try to use this piece of code where the problem is the corruption of alpha channel at 90°, 180°, 270° ImageEnView1.CurrentLayer.Rotate := ImageEnView1.CurrentLayer.Rotate + 45 ; //ImageEnView1.LayersFixRotations(); ImageEnView1.Update;
|
fab |
Posted - Feb 08 2012 : 23:31:50 Please could you show the code you have in "Rotate + 90" button? I cannot replicate this problem. |
giannidipie |
Posted - Feb 08 2012 : 12:44:51 At this moment i prefer to increase angle of 1/1000 ( rotate := 90.001) without using LayersFixRotations.
It is possible to fix the problem, I don't like what LayersFixRotations do to the bitmap.
|
fab |
Posted - Feb 08 2012 : 11:07:58 It doesn't seem in my test. In the "Rotate+90" button I have:
ImageEnView1.Proc.Rotate(90);
And even this works:
ImageEnView1.CurrentLayer.Rotate := 90; ImageEnView1.LayersFixRotations();
 After rotation:  |