bmp image Quality using memdev draw

    This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

    • bmp image Quality using memdev draw

      Hello,

      Am comparing the image quality drawn using Memdev devices and Image widget. Am using an bmp image converted to a .c file using bmp convertor.
      The bmp contains a filled arc with transparent background.

      for memdev am uisng the code below
      hMem1 = GUI_MEMDEV_CreateEx(0, 0, 393, 74,GUI_MEMDEV_HASTRANS);

      GUI_MEMDEV_Select(hMem1);
      GUI_SetBkColor(GUI_TRANSPARENT);
      GUI_Clear();
      GUI_DrawBitmap(&bmtemp, 0, 0);

      GUI_MEMDEV_Select(0);
      GUI_MEMDEV_WriteAt(hMem1, 50, 80);
      GUI_MEMDEV_Delete(hMem1);

      for Image widget code is below
      Image_Handle1 = IMAGE_CreateEx(50, 155, 393, 74, WM_HBKWIN, WM_CF_SHOW, 0x00, GUI_ID_IMAGE0);
      IMAGE_SetBitmap(Image_Handle1, &bmtemp);

      when i compare the image quality on the display, the image quality displayed by image widget is very good. By good i mean the arc edges are very smooth and edges blend smoothly with background. But the edges displayed when using memory devices are not smooth. When i do not use memdev and only use GUI_DrawBitmap then i get smooth edges on the arc but not using memdev device.

      What could be the reason for this behavior using memory devices?

      Thanks

      Regards,

      Anuj
    • Hi,

      Which color conversion are you using for display?

      Is it possible to attache your application files (with the converted image)?

      Regards,
      Sven
      Please 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.