Re: segmentation fault when trying to save a pixbuf into a file
- From: Tim Müller <zen18864 zen co uk>
- To: y g <odysseus lost gmail com>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: segmentation fault when trying to save a pixbuf into a file
- Date: Tue, 21 Jun 2005 13:45:20 +0100
On Tuesday 21 June 2005 12:59, y g wrote:
I had posted in the past but with no luck about segmentation faults
that I am getting when trying to save a pixbuf into a file. With a bit
more debugging this is the error I am getting when I try:
gdk_pixbuf_save(pixbuf, "temp.bmp", "bmp", NULL);
Program received signal SIGSEGV, Segmentation fault.
...
gdk_pixbuf_save() is a vararg function. Compare your function call to the API
reference - you're missing a NULL terminator there in the vararg part.
Cheers
-Tim
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]