Equivalent to gdk_draw_rgb_image that scales output?



Is there an equivalent function to gdk_draw_rgb_image that can do simple decimation and expansion, so that (for instance) I can display a 1536x1024 image at fullscreen size on a 1024x768 display surface?

I have my own decimation routines but they're probably horribly inefficient, and also they add an extra read-store for every single pixel, because I have to convert my internal full-size buffer to a screen-size version at 8:8:8 and then use gdk_draw_rgb_image to get it onto the screen.

-- Lewin A.R.W. Edwards
Embedded Engineer, Digi-Frame Inc.
Work: http://www.digi-frame.com/
Tel (914) 937-4090 9am-6:30pm M-F ET
Personal: http://www.larwe.com/ http://www.zws.com/





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