Sebastian Geerken
2013-06-14 18:01:00 UTC
Hi!
I've just push some changes for a better image scaling. See these two
examples for the effect:
- http://www.dillo.org/~sgeerken/grid.html
- http://www.dillo.org/~sgeerken/tenniel.html
I'm not completely sure about the side-effects. It should be slightly
slower (see comment: it can be improved), and it will not work with
other that RGB and RGBA data (for the case that Imgbuf is used for
other representations). The old code is still there; just look at
FltkImgbuf::scaleRow.
Sebastian
I've just push some changes for a better image scaling. See these two
examples for the effect:
- http://www.dillo.org/~sgeerken/grid.html
- http://www.dillo.org/~sgeerken/tenniel.html
I'm not completely sure about the side-effects. It should be slightly
slower (see comment: it can be improved), and it will not work with
other that RGB and RGBA data (for the case that Imgbuf is used for
other representations). The old code is still there; just look at
FltkImgbuf::scaleRow.
Sebastian