PBM option in print.m produces PNG file
John W. Eaton
jwe at bevo.che.wisc.edu
Wed Jan 2 01:40:29 CST 2008
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.
Thanks,
jwe
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: diffs
Url: https://www.cae.wisc.edu/pipermail/bug-octave/attachments/20080102/dcccfece/attachment.ksh
More information about the Bug-octave
mailing list