I have a 32-bit 16x16 bitmap in layer 0 and a 32-bit 9x9 bitmap in layer 1 in TImageENView.
What is the best way to rotate the bitmap in layer 1, 45 degrees and maintain its shape?
When I try various ways the bitmap seems like it is distorted after rotate. For example with the "windows red cancel glyph -" which looks like a red X.
Unfortunately small images do not rotate well (excluding simple 90, 180 and 270 rotates). If you can visualize an imaginary grid that overlays an image that has been rotated 45 degrees you will see that each of the original pixels is now spread over a 2x2 pixel square. Of course you can use one of the algorithms available in ImageEn to smooth that, but this will only have limited success on a tiny 9x9 bitmap.