view scripts/image/private/__tiff_isa__.m @ 31204:86d7c1be75dd

__tiff_isa__: implemented an "isa" function using Tiff interface * scripts/image/private/__tiff_isa__.m: implemented an "isa" function to be used for imformats, using the Tiff interface and independant of GraphicsMagick. * scripts/image/module.mk: added entry for the new function file.
author magedrifaat <magedrifaat@gmail.com>
date Sat, 03 Sep 2022 19:49:43 +0200
parents
children
line wrap: on
line source

function tf = __tiff_isa__ (filename)
    tf = true;
    try
        Tiff (filename);
    catch
        tf = false;
    end_try_catch
endfunction