[gtkmm] Can any Gdk/GdkPixbuf expert help me?
- From: "Jeffrey Rush" <rushjeffrey hotmail com>
- To: gtkmm-list gnome org
- Subject: [gtkmm] Can any Gdk/GdkPixbuf expert help me?
- Date: Tue, 07 Jan 2003 17:35:03 +0100
Hello everyone,
I've some questions concerning Gdk and GdkPixbuf:
1: I'm importing an 8bit grayscale image and when I
scale it (up), the resulting (zoomed) image has colored
(antialiased) spots/lines in it. I think this is because
GdkPixbuf keeps every image as RGB in memory.
But how can I avoid this color-artefacts in the
resulting image? Anything with the 'visual' setting?
2: There are 4 choices when scaling (up) an image
for the interpolation type (InterpType). But there's
obviously none that does not use antialiasing. Now,
I'd need a scaling that just blows up the pixels and
does not antialias. Any way to do this or do I
need to write a routine myself???
Thanks to all that reply and give hints and tips!
Many cheers,
Jeffrey Rush.
_________________________________________________________________
MSN 8 with e-mail virus protection service: 2 months FREE*
http://join.msn.com/?page=features/virus
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]