LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 03-31-2005, 09:54 PM   #1
mcm1738
LQ Newbie
 
Registered: Mar 2005
Posts: 24

Rep: Reputation: 15
gdk-pixbuf-csource --raw test.gif > about.h


OS:LINUX (FC3)
PC:HP compaq d330
GTK2.0


i wanna use"gdk-pixbuf-csource --raw test.gif > about.h "
read a file "test.gif" into "about.h" ,It's OK

then in my programm:

#include "about.h"
GdkPixbuf *pix;

pix = gdk_pixbuf_new_from_inline(9216+24, my_pixbuf, TRUE, NULL);
image = gtk_image_new_from_pixbuf(pix);

when run my programm ,i can see the test.gif,but it can not move,just like
a simple picture,

i don't know why~~~~~~~~~
i want let a gif file can show in my window~~~~~~~~~~`
i suppose i set some parameter wrong, "--raw "
how to set???
i am puzzled~~~~~~~~~~
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Y ! messenger on RedHat Enterprise 3... gdk-pixbuf !! SyncMaster Linux - Newbie 2 05-19-2005 11:06 AM
what package contains gdk-pixbuf-2.0 behmjose Linux - General 1 04-03-2004 06:20 PM
Gdk-pixbuf and libwmf - display windows metafiles JohnKFT Slackware 0 03-06-2004 04:04 PM
gdk-pixbuf update windsok Slackware 4 09-09-2003 02:26 AM
Evolution compile problems with gdk-pixbuf JoeLinux Linux - Software 6 10-06-2002 12:48 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 12:02 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration