RoCorbera / BlueVGA

VGA library for STM32F103C (BluePill) that can manipulate a screen with 28x30 tiles with 8x8 pixels each, in a total resolution of 224x240 pixels with 8 colors using a very low footprint
Other
61 stars 11 forks source link

Can you provide a sample of reading pictures, thank you #12

Closed kingodragon closed 1 year ago

kingodragon commented 1 year ago

I want to show an animation for it, but I don't know how.

RoCorbera commented 1 year ago

There is no way to do it. Pictures usually have 24 bits per pixel. This library only supports 8 colors (3 bits). It also only works with Tiles, which are predefined such as in a font bitmap. It is not a Display.

RoCorbera commented 1 year ago

You should move to another chip, such as ESP32.

It has a nicer VGA library that can run animations from a SDCard using a resolution such as 320x240 with 14bits per pixel (4096 colors). This may work a lot better. https://github.com/bitluni/ESP32VGA https://www.youtube.com/watch?v=G70CZLPjsXU

kingodragon commented 1 year ago

You should move to another chip, such as ESP32.

It has a nicer VGA library that can run animations from a SDCard using a resolution such as 320x240 with 14bits per pixel (4096 colors). This may work a lot better. https://github.com/bitluni/ESP32VGA https://www.youtube.com/watch?v=G70CZLPjsXU

There is no way to do it. Pictures usually have 24 bits per pixel. This library only supports 8 colors (3 bits). It also only works with Tiles, which are predefined such as in a font bitmap. It is not a Display.

I figured it out, thanks for your patience

RoCorbera commented 1 year ago

Please kindly post here the solution for other users. Thanks!