Path: chuka.playstation.co.uk!news From: Toby Sargeant Newsgroups: scee.yaroze.programming.2d_graphics Subject: Re: 16-bit bitmaps???... Date: Mon, 07 Feb 2000 16:54:01 +1100 Organization: PlayStation Net Yaroze (SCEE) Lines: 53 Message-ID: <389E5DF9.6D5067E6@fulcrum.com.au> References: <86k90k$pb41@chuka.playstation.co.uk> NNTP-Posting-Host: longford.csse.monash.edu.au Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 4.7 [en] (X11; I; Linux 2.2.14 i686) X-Accept-Language: en Scott Ward wrote: > > Hi, > > Can anyone let me know where I can find an art package that will let me work > with 16-bit images? I tend to use Paint Shop Pro 5 but this only deals with > 2,4,8 & 24 bit images. I've also tried Photoshop 5 with no joy aswell as the > scabby PAINT thing you get with windows. All seem to skip the 16-bit option > out. > > Please let me know if there's anything out there or if it's just me being > crap again and it is actually possible to achieve it with one of the above > titles. > > Much appreciated, > > Scott [ooh... wonder if this'll work. I gave up on slrn because it wasn't y2k happy, and so now I'm using netscape tunnelled through a pair of ssh port forwards. fingers crossed] Your best bet is probably going to be to draw in 24 bit mode and then quantize to 16 bit. If you're drawing large bitmaps, then there are a large number of dithering algorithms you can play with to do this. If you're dealing with small bitmaps, it's probably just as easy to do direct quantization; dithering may (or may not) create nasty artifacts. PIL, the python imaging library, is a large suite of image manipulation routines that you can tie together into a script (on windows even...) that will do what you want with a minimum of fuss. There's a really natty image quantizer for making optimal 8 bit palettes in it, that I contributed ;) There's also a windows program called Pixel32, written by a demo scene person, which, if you can get it to run, may well allow you to edit in 16 bit. I had nothing but trouble with it, but YMMV. The name 'Secundum Artem' rings a bell too, but that might well be the same program. Toby.