473,408 Members | 1,951 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,408 software developers and data experts.

GTK2: no images are displayed

Hi!

I'm using (the first time) GTK2 to build a GUI application under
windows.
Up to now everything worked fine. But now I have a problem:
Im using the function gdk_pixbuf_new_from_file to generate a
gdk-pixbuf. The program compiles and runs, but no images are displayed.
It simply doesn't work.
When I have a look at the delivered GError I get an error of the domain
"GDK_PIXBUF_ERROR", Code 3 (which means GDK_PIXBUF_ERROR_UNKNOWN_TYPE).
It absolutely doesn't matter what kind of Image I try to load (jpg,
bmp, xpm, tif). It never works.
I think, I also have installed all necessary libs. Other GTK-based
programs (e. g. the gimp) work fine on this computer.

If anyone has a hint or an idea, I'd be very happy! Thanks in advance,

netnobbi

Feb 23 '06 #1
2 1312
netnobbi wrote:
I'm using (the first time) GTK2 to build a GUI application under
windows.
Up to now everything worked fine. But now I have a problem:
Im using the function gdk_pixbuf_new_from_file to generate a
gdk-pixbuf. The program compiles and runs, but no images are displayed.
[..]

If anyone has a hint or an idea, I'd be very happy! Thanks in advance,


Hint: wrong newsgroup. We talk C++ _language_ here, and GTK2 is not part
of it.

V
--
Please remove capital As from my address when replying by mail
Feb 23 '06 #2
netnobbi wrote:
Hi!

I'm using (the first time) GTK2 to build a GUI application under
windows.


Hi!

Questions about specific libraries will get the best answers on their
specific mailing lists. The odds you encounter people who have hit this
problem are higher there.

This newsgroup should not try to answer, because if one of us took a guess,
the others would not be able to review and adjust their reply.

--
Phlip
http://www.greencheese.org/ZeekLand <-- NOT a blog!!!
Feb 23 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Srdjan Pejic | last post by:
Hello, I have a problem that I have not been able to solve, even after searching the web. I have stored couple of images in the MySQL database and I am trying to get them displayed on a web page...
2
by: Thorkild Stray | last post by:
Hi! I am trying to embed ghostscript into a suitable widget so that it renders it's image there. This is support by ghostscript by setting an environment variable that indicates what window...
10
by: windandwaves | last post by:
Hi I have the following html: <div id="menu"> <div id="m1"><a href="m1.php"><img src="m1.gif" alt="m1"></a></div> <div id="m2"><a href="m2.php"><img src="m2.gif" alt="m2"></a></div> <div...
40
by: Geoff Cox | last post by:
Hello, I am still having problems - apologies if the answer is in previous postings! I now have, in the header, <sctipt> var myimages=new Array();
0
by: Ralf Schwoebel | last post by:
Hi folks, a few saw it on the mailing list already and in the alt. group..., so forgive any redundancy, but I think this group was left out :-/ and some of you might be interested: we have...
9
by: Wayne Smith | last post by:
I've come up against a major headache that I can't seem to find a solution for but I'm sure there must be a workaround and I would really be grateful of any help. I'm currently building a web...
3
by: Dave | last post by:
I have an ASP 3.0 website on which the images are displaying intermittently. In other words, when I request a page, the image is blank. There is no missing image place marker (rectangle with a...
3
by: =?Utf-8?B?UiBSZXllcw==?= | last post by:
Hi! This discussion may help other programmers get a better idea of how to save uploaded images through a website. Why? Well currently, I save 3 versions of every uploaded image on my own...
3
by: Raja | last post by:
Hi, I have installed wamp server in windows, now i try to install php- gtk2 extension i can't installed, any one know the installation of php-gtk2, could you please help the installation...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.