can anyone help me make a C program code that will open an image file (JPEG for example)? i'm using C language and GUI/glade3 alongside it. to help you visualize it, i want to type the image filename in a text view entry and when i click a button (Load for example) the image will be opened and seen in the Image widget of Glade. the program code and the image file are located in the same folder. any kind of advice and help will be greatly appreciated. thanks!
5 Replies - 5483 Views - Last Post: 14 July 2010 - 11:16 PM
#1
how to open image files using C and GUI (glade 3) programming
Posted 14 July 2010 - 06:00 AM
Replies To: how to open image files using C and GUI (glade 3) programming
#2
Re: how to open image files using C and GUI (glade 3) programming
Posted 14 July 2010 - 06:11 AM
can anyone help me make a C program code that will open an image file? i'm using C language and GUI/glade3 alongside it. to help you visualize it, i want to type the image filename in a text view entry and when i click a button (Load for example) the image will be opened and seen in the Image widget of Glade. thanks!
#3
Re: how to open image files using C and GUI (glade 3) programming
Posted 14 July 2010 - 06:12 AM
can anyone help me make a C program code that will open an image file? i'm using C language and GUI/glade3 alongside it. to help you visualize it, i want to type the image filename in a text view entry and when i click a button (Load for example) the image will be opened and seen in the Image widget of Glade. thanks!
#4
Re: how to open image files using C and GUI (glade 3) programming
Posted 14 July 2010 - 06:21 AM
Whats gone wrong with you. Posting numerous identicle topics.
This post has been edited by Ario7X: 14 July 2010 - 06:36 AM
#5
Re: how to open image files using C and GUI (glade 3) programming
Posted 14 July 2010 - 04:47 PM
I've never heard of Glade, but how about trying other more popular graphics libraries, most can interface with GUI libraries or may have their own GUI functionality, like Allegro. I would recommend OpenGL or DirectX, they can easilly be interfaces with the Windows API.
Sorry if that wasn't that helpful, but I cannot find much information on Glade.
Sorry if that wasn't that helpful, but I cannot find much information on Glade.
#6
Re: how to open image files using C and GUI (glade 3) programming
Posted 14 July 2010 - 11:16 PM
http://glade.gnome.org/
Which GUI toolkit are you using underneath glade?
Dig through those manuals to find what you're looking for.
Which GUI toolkit are you using underneath glade?
Dig through those manuals to find what you're looking for.
Page 1 of 1

New Topic/Question
Reply



MultiQuote



|