Re: XForms: Creating Pixmaps on the fly

T.C. Zhao (tc_zhao@yahoo.com)
Tue, 23 Jun 1998 12:38:10 -0700 (PDT)

# To subscribers of the xforms list from "T.C. Zhao" <tc_zhao@yahoo.com> :

Thanks Steve.

How easy is it to adapt your library so
something like
do_quantization(RGBPACKED *array, int w, int h,
RGBPACKED *output_map,
int requested_map_len,
short *output_index_array) ?
can be trivially developed ?

I could surely use a *fast* quantizer (I am running
one based on median-cut, quanlity is ok, but kind of
slow).


---Steve Lamont <spl@szechuan.ucsd.edu> wrote:
>
> # To subscribers of the xforms list from spl@szechuan.ucsd.edu
(Steve Lamont) :
>
> > ... I think If I rclasses. It's a
little
> more involved since the RGB image must be quantized and a lookup table
> created to convert between RGB pixels and the Colormap indices. (I've
> written a library (libquantize) for myself which does octree
> quantization as outline in one of the _Graphics Gems_ series. That's
> what all the Quantize business is.)

_________________________________________________________
DO YOU YAHOO!?
Get your free @yahoo.com address at /cgi-bin/exit-to?http://mail.yahoo.com

_________________________________________________
To unsubscribe, send the message "unsubscribe" to
xforms-request@bob.usuf2.usuhs.mil or see
http://bob.usuf2.usuhs.mil/mailserv/xforms.html
XForms Home Page: http://bragg.phys.uwm.edu/xforms
List Archive: http://bob.usuf2.usuhs.mil/mailserv/list-archives/