Re: [gtk-list] Question: Displaying Images (TIM Files)



>  I'm currently working on a program that needs to be able to display TIM
>  image files.
>  
>  I've got the pixel information, so i was figuring the simplest way would
>  be to just do a for loop and do a whole lot of gdk_draw_points

Eeeeeeek, please don't do that.

If you have a way to go from TIM to an RGB or grayscale buffer, you
can use the GdkRGB functions to paint it to a drawable.

  Federico



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