Re: [gtk-list] Re: Image in a drawing area to .xpm



On Sun, 30 May 1999, Havoc Pennington wrote:
>
>On Sun, 30 May 1999, JA wrote:
>> Hi all!
>> 
>> I want to write a .xpm file of an image I have in a drawing area, and I
>> want to know if is there any function to do this, or I have to write my own
>> (I think is not very difficult)?
>> 
>
>Use something like gdk_pixmap_create_from_xpm_d() followed by
>gdk_draw_pixmap(). Or the Imlib equivalents...

I believe he wants to go the opposite direction (i.e. Take a drawing
area's contents and write it to a file, xpm format).

Is there something in Imlib to accomplish this?

Dan 
 ____    Kressin   ____   .-----------------------------------. 
/___ \____________/ __ \  | dkressin@acm.org                  |
    \  \    /      /  \ | | Lead Programmer/Analyst           |
 ___/ __\/\/rench_ \__/ | | University of Wisconsin - Oshkosh |
\____/            \____/  | www.mio.uwosh.edu/~kressd11/      |
                          `-----------------------------------'



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