Boost logo

Boost :

From: Fabio Fracassi (f.fracassi_at_[hidden])
Date: 2005-09-15 09:40:40

Adam Badura wrote:

> Upsss...
> I pressed "send" to fast... :)
> I am gathering materials and working on a library (originaly I wanted
> one class, but it seems now that it wont be that easy) dealing with
> colors, their representation (like ranges 0.0-1.0 and 0-255), models (like
> RGB, YUV, HSV and others). Any sugestions or needs?
> Adam Badura

I would be interested in such a library. One of the prime requirements I
have on a color class is that the storage format fits commonly used ones
like RGBA 8:8:8:8 or YUV 4:2:2, etc...
This makes it possible to interact with legacy libs (X, OpenGL, OpenCV,
imagemagic, ...), which often use raw image buffers, efficiently.

I would also like to see easy conversions between the types (YUV a =
color_cast<YUV>(RGB(0x411468)); or something simmilar)
I don't know exactly how Ranges fit in.



Boost list run by bdawes at, gregod at, cpdaniel at, john at