Mercurial > octave-libtiff
comparison 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 |
comparison
equal
deleted
inserted
replaced
31191:8ada1e68d961 | 31192:6a2bb6f4e41e |
---|---|
1 if __have_feature__ ("TIFF") | 1 if __have_feature__ ("TIFF") |
2 format = imformats("tif"); | 2 format = imformats("tif"); |
3 format.read = @__tiff_imread__; | 3 format.read = @__tiff_imread__; |
4 format.write = @__tiff_imwrite__; | 4 format.write = @__imwrite__; |
5 format.info = @__tiff_imfinfo__; | 5 format.info = @__tiff_imfinfo__; |
6 imformats("update", "tif", format); | 6 imformats("update", "tif", format); |
7 endif | 7 endif |