I want to rotate a Bitmap Image using emWin library. In APIs only linear translation is possible as Bitmap can be display from given location but how to rotate ?
How to Rotate Bitmap Image via emWin library
This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.
-
-
Hi,
Unfortunately, it is not possible to rotate images directly with emWin.
But, you can rotate memory devices. You need two memory devices. One which holds the image to be rotated and another one as destination which will contain the rotated image.
Just refer to the API description of the GUI_MEMDEV_Rotate() functions in the user manual. Please note that the devices used for rotation have to be created with 32bpp color depths.
Regards,
SvenPlease read the forum rules before posting.
Keep in mind, this is *not* a support forum.
Our engineers will try to answer your questions between their projects if possible but this can be delayed by longer periods of time.
Should you be entitled to support you can contact us via our support system: segger.com/ticket/
Or you can contact us via e-mail. -
@ankit_knit - FYI, some general info on image rotation:
avrfreaks.net/comment/2515936#comment-2515936
-
Share
- Facebook 0
- Twitter 0
- Google Plus 0
- Reddit 0
-
Tags