зеркало из https://github.com/mono/mail-archives.git
168 строки
5.9 KiB
HTML
168 строки
5.9 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
|
|
<HTML>
|
|
<HEAD>
|
|
<TITLE> [Gtk-sharp-list] Gdk.Pixbuf.Savev() throws System.NullReferenceException
|
|
</TITLE>
|
|
<LINK REL="Index" HREF="index.html" >
|
|
<LINK REL="made" HREF="mailto:ivan.guzvinec%40telemach.net">
|
|
<META NAME="robots" CONTENT="index,nofollow">
|
|
<META http-equiv="Content-Type" content="text/html; charset=iso-8859-2">
|
|
<LINK REL="Previous" HREF="003818.html">
|
|
<LINK REL="Next" HREF="003868.html">
|
|
</HEAD>
|
|
<BODY BGCOLOR="#ffffff">
|
|
<H1>[Gtk-sharp-list] Gdk.Pixbuf.Savev() throws System.NullReferenceException
|
|
</H1>
|
|
<B>Ivan Gu¾vinec
|
|
</B>
|
|
<A HREF="mailto:ivan.guzvinec%40telemach.net"
|
|
TITLE="[Gtk-sharp-list] Gdk.Pixbuf.Savev() throws System.NullReferenceException">ivan.guzvinec@telemach.net
|
|
</A><BR>
|
|
<I>Tue, 13 Apr 2004 20:46:51 +0200</I>
|
|
<P><UL>
|
|
<LI> Previous message: <A HREF="003818.html">[Gtk-sharp-list] re: Gnome Sharp 4 Windows
|
|
</A></li>
|
|
<LI> Next message: <A HREF="003868.html">[Gtk-sharp-list] Gdk.Pixbuf.Savev() throws
|
|
System.NullReferenceException
|
|
</A></li>
|
|
<LI> <B>Messages sorted by:</B>
|
|
<a href="date.html#3822">[ date ]</a>
|
|
<a href="thread.html#3822">[ thread ]</a>
|
|
<a href="subject.html#3822">[ subject ]</a>
|
|
<a href="author.html#3822">[ author ]</a>
|
|
</LI>
|
|
</UL>
|
|
<HR>
|
|
<!--beginarticle-->
|
|
<PRE>--=-/BeSZeVqIDHjwzocrhga
|
|
Content-Type: multipart/mixed; boundary="=-Mr8SX/pCjB/0kKsjNyND"
|
|
|
|
|
|
--=-Mr8SX/pCjB/0kKsjNyND
|
|
Content-Type: multipart/alternative; boundary="=-oX5+167LhlK/GPrv5aMs"
|
|
|
|
|
|
--=-oX5+167LhlK/GPrv5aMs
|
|
Content-Type: text/plain
|
|
Content-Transfer-Encoding: quoted-printable
|
|
|
|
Hi,
|
|
|
|
I'm having trouble with Gdk.Pixbuf.Savev() method. Upon execution I get:
|
|
$ ./test.exe 001.JPG
|
|
001.JPG
|
|
=20
|
|
Unhandled Exception: System.NullReferenceException: A null value was
|
|
found where an object instance was required.
|
|
in (unmanaged) (wrapper managed-to-native) Gdk.Pixbuf:gdk_pixbuf_savev
|
|
(intptr,string,string,string,string,intptr&)
|
|
in <0x00004> (wrapper managed-to-native) Gdk.Pixbuf:gdk_pixbuf_savev
|
|
(intptr,string,string,string,string,intptr&)
|
|
in <0x0003a> Gdk.Pixbuf:Savev (string,string,string,string)
|
|
in <0x000a2> pixbufTest:Main (string[])
|
|
_____________________________________________
|
|
|
|
I attached this test.cs program, that attempts to load a picture from
|
|
file specified in the first command line argument and immediately save
|
|
it to another file using the Savev() method.
|
|
|
|
Is this a bug or did I get the parameters to the method wrong?
|
|
|
|
I'm using Gtk# Release 0.18
|
|
|
|
tnx,
|
|
Ivan
|
|
|
|
--=-oX5+167LhlK/GPrv5aMs
|
|
Content-Type: text/html; charset=utf-8
|
|
Content-Transfer-Encoding: quoted-printable
|
|
|
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
|
|
<HTML>
|
|
<HEAD>
|
|
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; CHARSET=3DUTF-8">
|
|
<META NAME=3D"GENERATOR" CONTENT=3D"GtkHTML/3.0.9">
|
|
</HEAD>
|
|
<BODY>
|
|
Hi,<BR>
|
|
<BR>
|
|
I'm having trouble with Gdk.Pixbuf.Savev() method. Upon execution I get:<BR=
|
|
><i>
|
|
</I>$ ./test.exe 001.JPG<BR>
|
|
001.JPG<BR>
|
|
<BR>
|
|
Unhandled Exception: System.NullReferenceException: A null value was found =
|
|
where an object instance was required.<BR>
|
|
in (unmanaged) (wrapper managed-to-native) Gdk.Pixbuf:gdk_pixbuf_savev (int=
|
|
ptr,string,string,string,string,intptr&amp;)<BR>
|
|
in &lt;0x00004&gt; (wrapper managed-to-native) Gdk.Pixbuf:gdk_pixbuf_savev =
|
|
(intptr,string,string,string,string,intptr&amp;)<BR>
|
|
in &lt;0x0003a&gt; Gdk.Pixbuf:Savev (string,string,string,string)<BR>
|
|
in &lt;0x000a2&gt; pixbufTest:Main (string[])<BR>
|
|
_____________________________________________<BR>
|
|
<BR>
|
|
I attached this test.cs program, that attempts to load a picture from file =
|
|
specified in the first command line argument and immediately save it to ano=
|
|
ther file using the Savev() method.<BR>
|
|
<BR>
|
|
Is this a bug or did I get the parameters to the method wrong?<BR>
|
|
<BR>
|
|
I'm using Gtk# Release 0.18<BR>
|
|
<BR>
|
|
tnx,<BR>
|
|
Ivan
|
|
</BODY>
|
|
</HTML>
|
|
|
|
--=-oX5+167LhlK/GPrv5aMs--
|
|
|
|
--=-Mr8SX/pCjB/0kKsjNyND
|
|
Content-Disposition: attachment; filename=test.cs
|
|
Content-Transfer-Encoding: base64
|
|
Content-Type: text/x-csharp; name=test.cs; charset=
|
|
|
|
dXNpbmcgU3lzdGVtOw0KdXNpbmcgR3RrOw0KdXNpbmcgR2RrOw0KDQpjbGFzcyBwaXhidWZUZXN0
|
|
IHsNCiAgICBwdWJsaWMgc3RhdGljIHZvaWQgTWFpbihzdHJpbmdbXSBhcmdzKQ0KICAgIHsNCiAg
|
|
ICAgICAgQ29uc29sZS5Xcml0ZUxpbmUoYXJnc1swXSk7DQogICAgICAgIA0KICAgICAgICANCiAg
|
|
ICAgICAgQXBwbGljYXRpb24uSW5pdCgpOw0KICAgICAgICBQaXhidWYgcCA9IG5ldyBQaXhidWYo
|
|
YXJnc1swXSk7DQogICAgICAgIHAuU2F2ZXYoInNfIiArIGFyZ3NbMF0sICJqcGVnIiwgInF1YWxp
|
|
dHkiLCAiMTAwIik7DQogICAgICAgIA0KICAgIH0NCn0=
|
|
|
|
--=-Mr8SX/pCjB/0kKsjNyND--
|
|
|
|
--=-/BeSZeVqIDHjwzocrhga
|
|
Content-Type: application/pgp-signature; name=signature.asc
|
|
Content-Description: This is a digitally signed message part
|
|
|
|
-----BEGIN PGP SIGNATURE-----
|
|
Version: GnuPG v1.2.2 (GNU/Linux)
|
|
|
|
iQCVAwUAQHw1m8j+Az87AOMpAQIgbgP/eewzXqMZ/9Uz5i9NxVZeOsPY9h2Cypep
|
|
pIpLQ0sxkR6txwWW8+hrrvbivFTJGS0/29yVZlSszoZINAtAKOaWK5hcO3zzT/N7
|
|
+gwK6hJf7Z9bpuUDPPsO9iVdwpMrXbiqnicU8V65UOD5bQrhP38dZ5V4NBlVgy9N
|
|
D45lHXknZJ4=
|
|
=AoU2
|
|
-----END PGP SIGNATURE-----
|
|
|
|
--=-/BeSZeVqIDHjwzocrhga--
|
|
|
|
|
|
</PRE>
|
|
<!--endarticle-->
|
|
<HR>
|
|
<P><UL>
|
|
<!--threads-->
|
|
<LI> Previous message: <A HREF="003818.html">[Gtk-sharp-list] re: Gnome Sharp 4 Windows
|
|
</A></li>
|
|
<LI> Next message: <A HREF="003868.html">[Gtk-sharp-list] Gdk.Pixbuf.Savev() throws
|
|
System.NullReferenceException
|
|
</A></li>
|
|
<LI> <B>Messages sorted by:</B>
|
|
<a href="date.html#3822">[ date ]</a>
|
|
<a href="thread.html#3822">[ thread ]</a>
|
|
<a href="subject.html#3822">[ subject ]</a>
|
|
<a href="author.html#3822">[ author ]</a>
|
|
</LI>
|
|
</UL>
|
|
</body></html>
|