Page 1 of 1

PostPosted: Sun Mar 18, 2001 8:17 pm
by vpaulg
I'm told my Visor will never accept 4-bit BW images. If anyone can tell me otherwise, that would be awesome.

If not, then could someone direct me to a utility to make 2-bit BW images from color images? No utilities I can find do 2-bit, they all do 1,4,8.



V. Paul Greenwood

PostPosted: Mon Mar 19, 2001 6:50 pm
by jstadolnik
Using the PToolboxLib try the following:

if(SetDepth(4)) puts("4 bit gray works");
else puts("4 bit gray not supported");

As long as you are running at least OS3.3 and have a dragonball EZ processor in your machine, 4 bit grayscale mode should work.


PostPosted: Fri Mar 23, 2001 8:47 pm
by iebnn
What's interesting is that I have a regular Visor, PalmOS 3.0.1, and I have a couple applications that actually support 4 or 8bit grayscale. Odd, isn't it? They work fine. One is a program where I can view the new Palms coming out (pictures of them, they sure aren't 2bit, it would look horrible), and the other is a game that has 4bit or 8bit grayscale (can't remember.)

PostPosted: Sat Mar 24, 2001 1:20 am
by jstadolnik
Any dragonball EZ/VZ processor can display 4 bit grays. However, only OS3.3+ has the API support for handling 4 bit graphics.

The app you are running must be writing the processor registers directly to enable/display 4 bit gray graphics. If you run the app on the emulator, you'll probably get a boatload of errors.