[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
copyobj failure due to Ghostscript error
From: |
John W. Eaton |
Subject: |
copyobj failure due to Ghostscript error |
Date: |
Thu, 19 Jun 2014 15:42:05 -0400 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Icedove/24.5.0 |
I recently started seeing the following error. Is anyone else seeing
something like this, or is it just me?
octave:1> test copyobj
GPL Ghostscript 9.05: Unrecoverable error, exit code 1
warning: your version of GraphicsMagick limits images to 8 bits per pixel
***** testif HAVE_MAGICK
toolkit = graphics_toolkit ();
graphics_toolkit ("gnuplot");
unwind_protect
h1 = figure ("visible", "off");
x = 0:0.1:2*pi;
y1 = sin (x);
y2 = exp (x - 1);
ax = plotyy (x,y1, x-1,y2, @plot, @semilogy);
xlabel ("X");
ylabel (ax(1), "Axis 1");
ylabel (ax(2), "Axis 2");
axes (ax(1));
text (0.5, 0.5, "Left Axis", ...
"color", [0 0 1], "horizontalalignment", "center");
axes (ax(2));
text (4.5, 80, "Right Axis", ...
"color", [0 0.5 0], "horizontalalignment", "center");
s1 = hdl2struct (h1);
h2 = struct2hdl (s1);
s2 = hdl2struct (h2);
png1 = strcat (tmpnam (), ".png");
png2 = strcat (tmpnam (), ".png");
unwind_protect
print (h1, png1);
[img1, map1, alpha1] = imread (png1);
print (h2, png2);
[img2, map2, alpha2] = imread (png2);
unwind_protect_cleanup
unlink (png1);
unlink (png2);
end_unwind_protect
assert (img1, img2);
assert (map1, map2);
assert (alpha1, alpha2);
unwind_protect_cleanup
close (h1);
close (h2);
graphics_toolkit (toolkit);
end_unwind_protect
!!!!! test failed
imread: cannot find /tmp/oct-XViwDQ.png
octave:2>
jwe
- copyobj failure due to Ghostscript error,
John W. Eaton <=