Cookbook: Difference between revisions

56 bytes added ,  18 March 2016
→‎Find Octave configuration: check support for specific image formats
(→‎Programs and Libraries: how to find Octave configuration options)
(→‎Find Octave configuration: check support for specific image formats)
Line 21: Line 21:
     usejava ("jvm")
     usejava ("jvm")


     ## support for image IO
     ## Image IO with support for tif files
     try
     any (cellfun (@(x) ismember ("tif", x), {imformats.ext}))
      [~] = imformats ();
     ## Image IO with support for png files
      image_io_support = true;
     any (cellfun (@(x) ismember ("png", x), {imformats.ext}))
     catch
      image_io_support = false;
     end_try_catch
 


== Structures ==
== Structures ==