Mercurial > octave-libtiff
comparison scripts/io/Tiff.m @ 31195:f8baeb850b36
Tiff: Moved PKG_ADD logic to Tiff.m.
author | magedrifaat <magedrifaat@gmail.com> |
---|---|
date | Tue, 30 Aug 2022 20:32:50 +0200 |
parents | 6a9d985e7474 |
children | 1604c8812b67 |
comparison
equal
deleted
inserted
replaced
31194:0cdb7f35641e | 31195:f8baeb850b36 |
---|---|
1 ## PKG_ADD: ## Discard result to avoid polluting workspace with ans at startup. | |
2 ## PKG_ADD: if __have_feature__ ("TIFF") | |
3 ## PKG_ADD: [~] = imformats("update", "tif", | |
4 ## PKG_ADD: struct ("read", @__tiff_imread__, | |
5 ## PKG_ADD: "write", @__tiff_imwrite__, | |
6 ## PKG_ADD: "info", @__tiff_imfinfo__, | |
7 ## PKG_ADD: "ext", {{"tif", "tiff"}}, | |
8 ## PKG_ADD: "isa", @__tiff_isa__, | |
9 ## PKG_ADD: "alpha", true, | |
10 ## PKG_ADD: "multipage", true, | |
11 ## PKG_ADD: "description", "Tagged Image File Format", | |
12 ## PKG_ADD: "coder", "TIFF")); | |
13 ## PKG_ADD: endif | |
14 | |
1 classdef Tiff | 15 classdef Tiff |
2 properties (Constant = true) | 16 properties (Constant = true) |
3 TagID = __tiff_make_tagid__ (); | 17 TagID = __tiff_make_tagid__ (); |
4 | 18 |
5 Compression = struct ( | 19 Compression = struct ( |