CF Tech
Administrator
We have created a small application that will convert 1-bit or 8-bit images into source either assembly or C source code.
The project is open source, so you can add functionality to it or customize it. Here is a link to the SourceForge project page:
http://sourceforge.net/project/showfiles.php?group_id=230242
The big thing that this program adds is complete flexibility in the byte orientation and scan direction.
The 8-bit operation is fairly straight-forward:
Simply drop an 8-bit indexed image into the program, Select the scan direction, select Assembly or C, and click "convert". The output will be shown in notepad, ready to copy into your program.
The 1-bit ("bitmap") version is a bit more complex, but follows the same general flow:
You have complete flexibility in choosing the orientation of the bits so they can match your LCD's internal memory configuration. If your LCD's pixel dimensions are not an even multiple of 8 bits (rare, but does happen on occasion), you can choose the edge that gets clipped.
Here are some sample C output screen shots:
Here are some sample ASM output screen shots:
The great thing about this program is that if it does not quite do what you want, you can use SourceForge to change it to meet your needs.
The project is open source, so you can add functionality to it or customize it. Here is a link to the SourceForge project page:
http://sourceforge.net/project/showfiles.php?group_id=230242
The big thing that this program adds is complete flexibility in the byte orientation and scan direction.
The 8-bit operation is fairly straight-forward:
Simply drop an 8-bit indexed image into the program, Select the scan direction, select Assembly or C, and click "convert". The output will be shown in notepad, ready to copy into your program.
The 1-bit ("bitmap") version is a bit more complex, but follows the same general flow:
You have complete flexibility in choosing the orientation of the bits so they can match your LCD's internal memory configuration. If your LCD's pixel dimensions are not an even multiple of 8 bits (rare, but does happen on occasion), you can choose the edge that gets clipped.
Here are some sample C output screen shots:
Here are some sample ASM output screen shots:
The great thing about this program is that if it does not quite do what you want, you can use SourceForge to change it to meet your needs.
Looking for additional LCD resources? Check out our LCD blog for the latest developments in LCD technology.