I see now. So, what gets sent to the display is this:
<width><height><data>...
where <data> represents the pixels of the bitmap packed as bytes + any padding zeros necessary to fill out the last byte.
Is this correct? It seems sensible to me, I'll give it a go.
Thanks!
Ron
Search found 5 matches
- Thu Oct 18, 2007 6:37 am
- Forum: LK/ELK/VK/PK/OK/MX/GLK/EGLK/GVK/GLT
- Topic: Uploading a bitmap file programmatically (again)
- Replies: 5
- Views: 7058
- Wed Oct 17, 2007 7:26 am
- Forum: LK/ELK/VK/PK/OK/MX/GLK/EGLK/GVK/GLT
- Topic: Uploading a bitmap file programmatically (again)
- Replies: 5
- Views: 7058
Uploading a bitmap file programmatically (again)
>The reason your bitmap maybe garbled is that between rev 1.x and 2.x the way the bitmap is
>stored has been changed, V1 scanned the bitmap vertically while V2 scans it horizontally.
So, the actual bitmap file is not uploaded but rather the pixel data only? If so, what specifies the dimensions of ...
>stored has been changed, V1 scanned the bitmap vertically while V2 scans it horizontally.
So, the actual bitmap file is not uploaded but rather the pixel data only? If so, what specifies the dimensions of ...
- Fri Oct 12, 2007 7:31 am
- Forum: LK/ELK/VK/PK/OK/MX/GLK/EGLK/GVK/GLT
- Topic: Uploading a bitmap file programmatically (again)
- Replies: 5
- Views: 7058
Uploading a bitmap file programmatically (again)
About a month and a half ago I asked about how to upload a bitmap file to a GLK240128-25 since I couldn't get it to work as in the manual. Clark kindly posted a reply saying the manual was wrong and I should try this approach:
---------------------------------------------------------------
Host ...
---------------------------------------------------------------
Host ...
- Fri Aug 31, 2007 1:04 pm
- Forum: LK/ELK/VK/PK/OK/MX/GLK/EGLK/GVK/GLT
- Topic: Uploading a bitmap programmatically on a GLK240128-25
- Replies: 2
- Views: 5736
- Fri Aug 31, 2007 6:53 am
- Forum: LK/ELK/VK/PK/OK/MX/GLK/EGLK/GVK/GLT
- Topic: Uploading a bitmap programmatically on a GLK240128-25
- Replies: 2
- Views: 5736
Uploading a bitmap programmatically on a GLK240128-25
I'm trying to write code to upload a bitmap file to a GLK240128-25 and the board does not seem to be responding as the manual would have you believe it should. For test purposes I'm using Python under Linux. Here's what I'm seeing:
If I upload a bitmap using MOGD# the board displays it for me when ...
If I upload a bitmap using MOGD# the board displays it for me when ...