Re: gdk_pixbuf_render_to_drawable distorted



I use gdk_pixbuf_render_to_drawable() to render a pixmap into a pixbuf.
After doing so, I use imlib to save the pixbuf as a PNG or JPG image.
The problem is that 9 out of 10 times, the resulting image is all
distorted.  It seems that everything is distorted by a 90 degree angle.
I only get a few images that look right. The ones that look ok are
mostly very small images like 50x50 pixels.  Is this a know problem in
gdk-pixbuf?

Are you converting from pixbuf to Imlib properly?
pixbufs can be rgba or rgb format, wile imlib is rgb+a
 this sounds like what might be happening.






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]