Kip Rugger wrote:

> >> I'm afraid that's what you have to do. Most of the time you already have
> >> the image on the client side, so you may not have to retrieve it.
> >> There are extensions (Render in particular) that might help you, but they
> >> are not available everywhere so you would need fallback code anyway.
> >>
> >> By the way, scaling raster images correctly is an non-trivial problem
> >> in itself (it's basically a resampling operation). You may want to
> >> think over exactly what result you would expect and why. Unless you are
> >> satisfied by mere pixel replication/elimination, of course

> >
> > Ok. I'll used my own internal code that support resampling...X11 definitely
> >need some standard work to be up to date regarding other windowing system such as
> >MacOS, Windows, etc...There are so many lacks for rendering that cause performance penalties.

>
> This operation is easily done by the XIE extension, the FloGeometry
> function in particular.


.... and see http://lxr.mozilla.org/seamonkey/sou...src/xlib/XIE.c
for an example usage.

More references for XIE:
- http://www.users.cts.com/crash/s/slogan/xie.html
- http://www.linuxjournal.com/article.php?sid=2259
-
http://www.google.com/search?num=100...=syd+logan+xie

----

Bye,
Roland

--
__ . . __
(o.\ \/ /.o) Roland.Mainz@informatik.med.uni-giessen.de
\__\/\/__/ gisburn@informatik.med.uni-giessen.de
/O /==\ O\ MPEG specialist, C&&JAVA&&Sun&&Unix programmer
(;O/ \/ \O TEL +49 641 99-41370 FAX +49 641 99-41359