octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #30784] imwrite fails when FMT is set explicit


From: John Swensen
Subject: [Octave-bug-tracker] [bug #30784] imwrite fails when FMT is set explicitly
Date: Thu, 16 Sep 2010 14:06:15 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.8) Gecko/20100723 Ubuntu/10.04 (lucid) Firefox/3.6.8

Follow-up Comment #6, bug #30784 (project octave):

Actually, because we now prepend the filename for every call to
GraphicMagick's WriteImages function, and because WriteImages only looks at
the start of the filename up to the first colon, everything works as
expected.

octave:9> imwrite(img,'tiff:test_img.png','bmp');
octave:10> system('file tiff:test_img.png')
tiff:test_img.png: PC bitmap, Windows 3.x format, 640 x 480 x 24
ans = 0
octave:11> imwrite(img,'tiff:test_img.png');
octave:12> system('file tiff:test_img.png')
tiff:test_img.png: PNG image, 640 x 480, 8-bit grayscale, non-interlaced
ans = 0

Did you actually remove the for loop, or do I need to whip up another
changeset?  I agree that it isn't necessary.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?30784>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]