PBM option in print.m produces PNG file
Thomas Weber
thomas.weber.mail at gmail.com
Wed Jan 2 05:48:39 CST 2008
Am Mittwoch, den 02.01.2008, 02:40 -0500 schrieb John W. Eaton:
> On 2-Jan-2008, Thomas Weber wrote:
>
> | To: bug at octave.org
> | Cc: thomas.weber.mail at gmail.com
> | Subject: PBM option in print.m produces PNG file
> |
> | Bug report for Octave 3.0.0 configured for i486-pc-linux-gnu
> |
> | Description:
> | -----------
> |
> | I don't know if it's a bug or supposed to be like that, but the PBM switch in
> | print.m produces a PNG file.
> |
> | Repeat-By:
> | ---------
> |
> | octave:1> figure(1, "visible", "off"); A = rand(10,10);
> | octave:2> print("/tmp/image.pbm", "-dpbm");
> | octave:3> system("file /tmp/image.pbm")
> | /tmp/image.pbm: PNG image data, 640 x 480, 8-bit colormap, non-interlaced
> | ans = 0
>
> Please try the following patch.
Works, thanks.
Thomas
More information about the Bug-octave
mailing list