Mercurial > octave-libtiff
annotate 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 |
rev | line source |
---|---|
31188
66cf3c7c06e8
scripts/image/PKG_ADD: corrected the file path.
magedrifaat <magedrifaat@gmail.com>
parents:
diff
changeset
|
1 if __have_feature__ ("TIFF") |
66cf3c7c06e8
scripts/image/PKG_ADD: corrected the file path.
magedrifaat <magedrifaat@gmail.com>
parents:
diff
changeset
|
2 format = imformats("tif"); |
66cf3c7c06e8
scripts/image/PKG_ADD: corrected the file path.
magedrifaat <magedrifaat@gmail.com>
parents:
diff
changeset
|
3 format.read = @__tiff_imread__; |
31192
6a2bb6f4e41e
__tiff__.cc (F__tiff_imread__): fixed bug where file was not closed on errors.
magedrifaat <magedrifaat@gmail.com>
parents:
31188
diff
changeset
|
4 format.write = @__imwrite__; |
31188
66cf3c7c06e8
scripts/image/PKG_ADD: corrected the file path.
magedrifaat <magedrifaat@gmail.com>
parents:
diff
changeset
|
5 format.info = @__tiff_imfinfo__; |
66cf3c7c06e8
scripts/image/PKG_ADD: corrected the file path.
magedrifaat <magedrifaat@gmail.com>
parents:
diff
changeset
|
6 imformats("update", "tif", format); |
66cf3c7c06e8
scripts/image/PKG_ADD: corrected the file path.
magedrifaat <magedrifaat@gmail.com>
parents:
diff
changeset
|
7 endif |