Index: src/src/Plugins/Ghostscript/gs_utilities.cpp
===================================================================
--- src/src/Plugins/Ghostscript/gs_utilities.cpp	(revision 5798)
+++ src/src/Plugins/Ghostscript/gs_utilities.cpp	(working copy)
@@ -63,6 +63,7 @@
   if (!ok) return false;
   w_pt= x2-x1;
   h_pt= y2-y1;
+  if (h_pt==0 && w_pt==0) h_pt = 1;
   return true;
 }
 
@@ -80,7 +81,7 @@
   if (!err && gs_image_size_sub (buf, w_pt, h_pt)) return;
   cerr << "TeXmacs Cannot read image file '" << image << "'"
        << " in gs_image_size" << LF;
-  w_pt= 0; h_pt= 0;
+  w_pt= 0; h_pt= 1;
 }
 
 void ps_bounding_box (url image, int& x1, int& y1, int& x2, int& y2);
