view scripts/image/private/__tiff_isa__.m @ 31217:c09f6a3597e6 default tip gsoc-libtiff

__tiff__.cc: handled unused parameter warning when Tiff is not enabled * libtinerp/corefcn/__tiff__.cc: added appropriate hadnling for unused parameters for cases when Octave is compiled without Tiff support to suppress compiler warnings in that case.
author magedrifaat <magedrifaat@gmail.com>
date Wed, 07 Sep 2022 18:39:10 +0200
parents 86d7c1be75dd
children
line wrap: on
line source

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