diff scripts/io/Tiff.m @ 31173:0abc9779f751

Tiff: modified readRGBAImage to use the orientation tag correctly * __tiff__.cc (F__tiff_read_rgba_image__): modified the way the image is read to use the orientation tag in the correct way.
author magedrifaat <magedrifaat@gmail.com>
date Tue, 16 Aug 2022 16:10:10 +0200
parents 3f5f1404af8a
children c7c79973007f
line wrap: on
line diff
--- a/scripts/io/Tiff.m	Sun Aug 14 21:02:58 2022 +0200
+++ b/scripts/io/Tiff.m	Tue Aug 16 16:10:10 2022 +0200
@@ -387,6 +387,10 @@
       versionString = __tiff_version__ ();
     endfunction
 
+    function tagNames = getTagNames ()
+      tagNames = fieldnames (Tiff.TagID);
+    endfunction
+
     function setLibTIFFErrorsEnabled(state)
       __tiff_set_errors_enabled__ (state);
     endfunction