view scripts/image/PKG_ADD @ 31192:6a2bb6f4e41e

__tiff__.cc (F__tiff_imread__): fixed bug where file was not closed on errors.
author magedrifaat <magedrifaat@gmail.com>
date Sat, 27 Aug 2022 16:23:59 +0200
parents 66cf3c7c06e8
children c142c153034c
line wrap: on
line source

if __have_feature__ ("TIFF")
    format = imformats("tif");
    format.read = @__tiff_imread__;
    format.write = @__imwrite__;
    format.info = @__tiff_imfinfo__;
    imformats("update", "tif", format);
endif