riuson / lcd-image-converter

Tool to create bitmaps and fonts for embedded applications, v.2
https://lcd-image-converter.riuson.com/
GNU General Public License v3.0
337 stars 80 forks source link

No support for RGB8 data format? #23

Closed riuson closed 10 years ago

riuson commented 10 years ago

From santacru...@gmail.com on February 22, 2014 01:45:08

What steps will reproduce the problem? 1. imported images can't be converted to the common 8-bit OLED data format--

For 256-color mode, one pixel data is sent in a 8-bit session like below.

Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 C2 C1 C0 B2 B1 B0 A1 A0

Figure 11 – 256 Color Depth Graphic Display Data Writing Sequence What is the expected output? What do you see instead? Expected output is as produced here http://www.digole.com/tools/PicturetoC_Hex_converter.php What version of the product are you using? On what operating system? https://code.google.com/p/lcd-image-converter/source/detail?r=c026d86 on Windows 7 x64 Please provide any additional information below. Attach XML files, on which the bug occurs.

Original issue: http://code.google.com/p/lcd-image-converter/issues/detail?id=23

riuson commented 10 years ago

From santacru...@gmail.com on February 21, 2014 11:46:20

Sorry, this should be listed as an enhancement rather than a defect.

Bob

riuson commented 10 years ago

From riu...@gmail.com on February 21, 2014 23:15:27

On page http://www.digole.com/tools/PicturetoC_Hex_converter.php 256-colors format is R3G3B2. Hex output for black-red-green-blue-white lines : 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 ,0xe0,0xe0,0xe0,0xe0,0xe0,0xe0,0xe0,0xe0,0xe0,0xe0 ,0x1c,0x1c,0x1c,0x1c,0x1c,0x1c,0x1c,0x1c,0x1c,0x1c ,0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x03 ,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff

Settings for this output in my application presented on attached image. https://code.google.com/p/lcd-image-converter/wiki/OptionsConversionMatrix

Owner: riu...@gmail.com
Labels: -Type-Defect Type-Other

Attachment: r3g3b2.png

riuson commented 10 years ago

From santacru...@gmail.com on February 22, 2014 13:42:26

Ahh, very cool! Thanks for the info

riuson commented 10 years ago

From riu...@gmail.com on February 22, 2014 14:07:57

Ok

Status: Invalid