You're right, PocketC doesn't currently support color or greyscale. The bitmap function format is in monochrome. BMP2Hex uses the average value of a color bitmap and uses that to determine whether a pixel should be black or white. I'm working on a new version that will allow the PocketC developer to "preview" the image within the BMP2Hex application.

Are there any improvements to the new version? In particular I'm trying to convert a picture that will be larger than the pilots screen. My final image will be something like 480*480.

BMP2Hex won't let me convert that unless I chop it up into pieces. I have to get it into smaller pieces eventually in order to use the bitmap command so could bmp2hex do all of that for me?

Posted: Mon Dec 03, 2001 4:03 pm

by grbstein

I assume you have Version 2.1 of BMP2Hex.
The only limitations I'm aware of have to do with PocketC and the size of Memos.

PocketC allows a string constant to be only 256 characters long. BMP2Hex has an option to automatically do that breakup for you.

The other issue is the size of Memos. I don't recall the exact size, but you can easily exceed that with a large image. You do have the option of creating a file in DOC format, however.

I'm unsure how PocketC will handle a bitmap larger than the screen.

<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>
Are there any improvements to the new version? In particular I'm trying to convert a picture that will be larger than the pilots screen. My final image will be something like 480*480.

BMP2Hex won't let me convert that unless I chop it up into pieces. I have to get it into smaller pieces eventually in order to use the bitmap command so could bmp2hex do all of that for me?