Mercurial > octave-libtiff
diff scripts/io/Tiff.m @ 31206:df8ee95752aa
imformats: moved Tiff logic to default_formats
* scripts/image/imformats.m: added logic in default_formats to use
Tiff functions for tiff images if available.
* scripts/io/Tiff.m: removed the PKG_ADD logic in favor of the imformats
logic to make the function handles valid.
author | magedrifaat <magedrifaat@gmail.com> |
---|---|
date | Sat, 03 Sep 2022 20:36:33 +0200 |
parents | be6ccdcd5775 |
children | ddbed40b811b |
line wrap: on
line diff
--- a/scripts/io/Tiff.m Sat Sep 03 19:53:14 2022 +0200 +++ b/scripts/io/Tiff.m Sat Sep 03 20:36:33 2022 +0200 @@ -1,17 +1,3 @@ -## PKG_ADD: ## Discard result to avoid polluting workspace with ans at startup. -## PKG_ADD: if __have_feature__ ("TIFF") -## PKG_ADD: [~] = imformats("update", "tif", -## PKG_ADD: struct ("read", @__tiff_imread__, -## PKG_ADD: "write", @__tiff_imwrite__, -## PKG_ADD: "info", @__tiff_imfinfo__, -## PKG_ADD: "ext", {{"tif", "tiff"}}, -## PKG_ADD: "isa", @__tiff_isa__, -## PKG_ADD: "alpha", true, -## PKG_ADD: "multipage", true, -## PKG_ADD: "description", "Tagged Image File Format", -## PKG_ADD: "coder", "TIFF")); -## PKG_ADD: endif - classdef Tiff properties (Constant = true) TagID = __tiff_make_tagid__ ();