image formats

Bill Denney bill at denney.ws
Fri Aug 8 02:04:04 CDT 2008


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


More information about the Octave-maintainers mailing list