We currently only worry about dithering on 8-bit
indexed destinations.
We have a request outstanding for dithering on
15/16-bit displays, but
we haven't gotten to it.  This would be the first
request for dithering
on a TrueColor display.  ;-)

Presumably if you get it working for 15/16-bit then the
> same algorithm could be used for 24-bit?

Not really, the dithering would be baked into the loop that did the
conversion to and storage into the 15/16 bit destinations.

In the case of the 15/16 bit destinations, you dither with a stochastic
metric proportional to the 2 or 3 bits of the 8-bit original data that
you are discarding.

With 24-bit dithering we are already storing all of the source data that
we maintain in any of our pipelines (which treat 24-bit xRGB or 32-bit
ARGB as the most general intermediate formats) so it is not only an
issue of new code to apply the stochastic noise, but also we would have
to upgrade many pipelines to maintain more than 8 bits per component
precision throughout our rendering code.  That's a major upgrade across
the board.

It's actually not unreasonable to dither 24-bit images.
High-end image processing for video and film is ...

In those fields, yes, it is common to maintain better than 24-bit
precision, but we haven't been designing for those fields (so far).
16-bit per component upgrades have been on our wish list for a while
now, more for the alpha blending (and other image processing) accuracy
than for the ability to dither a 24-bit image...

                       ...jim

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA2D-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to