libcvd-members
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[libcvd-members] libcvd/cvd image_io.h


From: Edward Rosten
Subject: [libcvd-members] libcvd/cvd image_io.h
Date: Mon, 12 Jan 2009 14:49:36 +0000

CVSROOT:        /cvsroot/libcvd
Module name:    libcvd
Changes by:     Edward Rosten <edrosten>        09/01/12 14:49:36

Modified files:
        cvd            : image_io.h 

Log message:
        CVD can now read big endian TIFFs. They start with MM, not II (like the
        little endian ones)

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/libcvd/cvd/image_io.h?cvsroot=libcvd&r1=1.38&r2=1.39

Patches:
Index: image_io.h
===================================================================
RCS file: /cvsroot/libcvd/libcvd/cvd/image_io.h,v
retrieving revision 1.38
retrieving revision 1.39
diff -u -b -r1.38 -r1.39
--- image_io.h  1 Jan 2009 22:29:29 -0000       1.38
+++ image_io.h  12 Jan 2009 14:49:35 -0000      1.39
@@ -221,7 +221,7 @@
            JPEG::readJPEG(im, i);
 #endif
 #ifdef CVD_HAVE_TIFF
-         else if(c == 'I')
+         else if(c == 'I' || c == 'M') //Little or big endian TIFF
            TIFF::readTIFF(im, i);
 #endif
 #ifdef CVD_HAVE_PNG




reply via email to

[Prev in Thread] Current Thread [Next in Thread]