Skip to main content
Gom
Associate II
September 9, 2020
Question

TouchGFX, how to draw images in A4 or A8 format?

  • September 9, 2020
  • 0 replies
  • 609 views

Hi

It seems that ChromART supports A4 and A8 formats very well, but I haven't found a way to draw dynamic bitmaps that use either of these formats -- it fails on an assert.

Glyphs can use both of them (efficiently), so there must be a way to do it? So far I've hacked a custom Font class that creates a glyph with my custom bitmap data, and a widget that calls LCD::drawGlyph... but that's really silly (and buggy -- see my other post about big glyphs).

Did I miss something? If not, it would be great to support these formats directly. Why is there an assert that prevents from using them?

Thanks.

This topic has been closed for replies.