Amiga-C (40/157)

From:Allan Odgaard
Date:11 Sep 2001 at 00:01:27
Subject:Re: [amiga-c] DataTypes in 15/16 bits

On Mon, 10 Sep 2001, Sensei wrote:

> investigation I have found that datatypes when are loading picture in 16 bit
> (and probably 15 bits too, but I have not checked this case) are creating
> matrix of very close pixels no matter if the original picture has solid color
> or not! [...]

The reason is that the picture.datatype will apply Floyd Steinberg error
diffusion to 24 bit images shown in a lower colour resolution (as this
may improve the display of gradients).

You should disable dither and probably this will fix the problem. For the
P96 picture.datatype this was done using an environment variable, but I'm
quite sure it can be done through the API for OS 3.5+.



http://www.diku.dk/students/duff/

------------------------ Yahoo! Groups Sponsor ---------------------~-->
Secure your servers with 128-bit SSL encryption! Grab your copy of VeriSign's FREE Guide: "Securing Your Web Site for Business." Get it Now!
http://us.click.yahoo.com/n7RbFC/zhwCAA/yigFAA/dpFolB/TM
---------------------------------------------------------------------~->

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/