> ---------------------------------------------------------------------- > > Subject: OT : Graphics tool for 16-bit bitmaps > From: Jim Cooper <[EMAIL PROTECTED]> > Date: Thu, 14 Nov 2002 09:20:25 +0000 > X-Message-Number: 1 > > > I realise this is slightly off-topic, but my current client's designer > needs (well, wants) to create some graphics for a 16-bit colour Palm > app, but none of her tools work at that colour depth (you get 8-, then > 24-bit, apparently). > > Can anyone suggest a graphics package (or maybe an image converter) that > she can use? > > Cheers, > Jim Cooper >
In light of not being able to find a "reasonable" soloution I would suggest, writing your own tool to do the job yourself. Saving your source graphics as a 24bit (or 32bit if you need an alpha channel) raw image, uncompressed .TGA files or .RAW (both supported by Photoshop) work well (.TGA have an 18byte header, but MAY also be stored upside down as well). All you need to do is write a little windows console app that takes input and output file names as command line paramaters, open the input file as a byte stream, read in the first 3 (or 4 bytes) and do a bit of bit shifting to get your 16 bit result (for 99.9% of the time just loosing the bottom 3 bits of the rgb colours is more than sufficient) and then write the new data back to the output stream. The advantage of using a console app is that you can then include the graphic data in your makefile dependancies and have the conversion process done automatically (and you have ulitmate flexibility if you need any other features in the future (image scaling, mipmap generation, filtering operations etc etc etc)) If you need any more help (or would like me to write a tool like this for you) then give me a shout via eMail (and no I don't charge $95 per hour - I wish! 8-)) Jon... -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
