Boost logo

Boost :

From: Ullrich Koethe (u.koethe_at_[hidden])
Date: 2001-11-15 14:59:28


Peter Dimov wrote:
>
> From: "Ullrich Koethe" <u.koethe_at_[hidden]>
> > BTW, what's your image library doing? Is it also public?
>
> To reply to the specific question:
>
> Currently I focus on operations relevant to computer games. These include
>
> * import/export (you've got this covered)
>

Yeah, but it isn't nice. I could use some help here...

> * resampling
>

I have interpolation, but ot is optimized more for quality than speed.
General affine transformations are on the schedule.

> * copy (as fast as possible) image A onto image B at point (x, y) using
> effect E (additive blend, alpha blend, multiplicative blend... like the
> photoshop layer effects)
>

This would be the realm of a lambda library. VIGRA comes with a
lightweight one (did I mention this ?)

> * (quickly) convert image A to the specified packed-pixel format, like 555
> RGB.
>

I would use an accessor here.

> * crop image A leaving only the parts where the alpha channel is not zero.
>

In VIGRA, you need not physically crop. Just move the iterators inwards
by the right amount, so that only the interesting rectangle is
processed.

Ulli

-- 
 ________________________________________________________________
|                                                                |
| Ullrich Koethe  Universität Hamburg / University of Hamburg    |
|                 FB Informatik / Dept. of Computer Science      |
|                 AB Kognitive Systeme / Cognitive Systems Group |
|                                                                |
| Phone: +49 (0)40 42883-2573                Vogt-Koelln-Str. 30 |
| Fax:   +49 (0)40 42883-2572                D - 22527 Hamburg   |
| Email: u.koethe_at_[hidden]               Germany             |
|        koethe_at_[hidden]                        |
| WWW:   http://kogs-www.informatik.uni-hamburg.de/~koethe/      |
|________________________________________________________________|

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk