Jump to content

Artemla

Members
  • Posts

    2
  • Joined

  • Last visited

Everything posted by Artemla

  1. Hello. I'm trying to display BMP RLE on my screen. I made image with GIMP using color indexing (Image->Mode->Indexed...). When maximum number of colors is greater than 150 - nothing showed on screen. gdispImageDraw() gives me error GDISP_IMAGE_ERR_BADFORMAT. ugfx does not support BMP RLE images with number of colors more than 150 or I'm doing something wrong? Thanks.
  2. Hello. I tried to use gwinPrintg() with format "%.2f" to display float value with 2 digits after point. But float value displays with 5 digits after point, no matter what precision is set in format. I found that precision value in function vfnprintg(), which is used to parse format, is a constant equal to 100000. Changing this constant to 100 gives me precision equal to 2 digits after point. Is it a bug? Or I'm doing something wrong? Thanks.
×
×
  • Create New...