gdk_draw_gray_image problem

2002-02-28 Thread Peter Van Osta
Hi, I ahve problem with "gdk_draw_gray_image". The code to display a greyvalue image is shown below. If I take gdk_draw_gray_image" out of the loop or reduce the number of loops below 3, either a solid grey image window display is shown (0 loops ) or only the lower half of the image (2 loops) ?

Re: gdk_draw_gray_image problem

2002-02-28 Thread John . Cupitt
Hiya, almost exactly that code works for me, so I guess the problem must be somewhere else :-( Does testrgb work OK? If it does, what's that code doing that you're not doing? Peter Van Osta wrote: > I ahve problem with "gdk_draw_gray_image". The code to display a > greyvalue image is shown bel