Use png instead of tiff
svn path=/trunk/aspeditor/; revision=60706
This commit is contained in:
Родитель
e1dc9eb52d
Коммит
6cfc0a9394
|
@ -459,7 +459,7 @@ public class PropertyGrid : Gtk.VBox
|
|||
private Gdk.Pixbuf ImageToPixbuf(System.Drawing.Image image)
|
||||
{
|
||||
using (MemoryStream stream = new MemoryStream ()) {
|
||||
image.Save (stream, System.Drawing.Imaging.ImageFormat.Tiff);
|
||||
image.Save (stream, System.Drawing.Imaging.ImageFormat.Png);
|
||||
stream.Position = 0;
|
||||
return new Gdk.Pixbuf (stream);
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче