octave-maintainers
[Top][All Lists]
Advanced

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

Re: image formats


From: Bill Denney
Subject: Re: image formats
Date: Fri, 08 Aug 2008 03:04:04 -0400
User-agent: Thunderbird 2.0.0.16 (Windows/20080708)

Thomas L. Scofield wrote:

Currently there is this list

    bmp, gif, jpg, jpeg, pbm, pgm, png, ppm, svg, tiff

of file extensions hard-coded into a cell array in imwrite. These comprise a "starter list" of supported image formats and, to some extent, acceptable file extensions for the file you write to. Any list we come up with will be somewhat artificial, as the GraphicsMagick library allows writing to many more formats than we are ever likely to support. (For a full list see http://www.graphicsmagick.org/www/formats.html).

Is there a reason that we should not support all the formats that Graphics Magick does? It seems like the best way to support all images would be to just let imread/imwrite try to read/write the image and if we get an error from Graphics Magick that the format is unsupported we pass that back to the user. I don't see any reason to artificially limit ourselves to some arbitrary subset of image formats.

Have a good day,

Bill


reply via email to

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