Amiga-C (47/157)

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

On Tue, 11 Sep 2001, Sensei wrote:

> > 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).
> Yep, I know that... But original picture is 16 colours IFF ILBM... And
> background color 160,160,128 perfectly match 15/16 bit space if simple
> remapping would be used...

Does *all* 16 colours match this 15/16 bit colour space? Because if just
one of them don't, then this rounding error will affect the rest of the
picture (and thus mess up the background).

> > 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+.
> Unfortunately I don't have any of them...

Someone quoted the API, perhaps this guy could also quote the actual tag
value?

But why not create the mask before you ask datatypes to remap the picture?



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/