kinow commented on a change in pull request #72: IMAGING-251 support for TIFF 
floating-point formats
URL: https://github.com/apache/commons-imaging/pull/72#discussion_r404591417
 
 

 ##########
 File path: 
src/main/java/org/apache/commons/imaging/formats/tiff/datareaders/DataReaderTiled.java
 ##########
 @@ -61,7 +139,78 @@ public DataReaderTiled(final TiffDirectory directory,
     }
 
     private void interpretTile(final ImageBuilder imageBuilder, final byte[] 
bytes,
-            final int startX, final int startY, final int xLimit, final int 
yLimit) throws ImageReadException, IOException {
+        final int startX, final int startY, final int xLimit, final int 
yLimit) throws ImageReadException, IOException {
+
+        // March 2020 change to handle floating-point with compression
+        // for the compressed floating-point, there is a standard that allows
+        // 16 bit floats (which is an IEEE 754 standard) and 24 bits (which is
+        // a non-standard format implemented for TIFF).  At this time, this
+        // code only supports 32-bite.
 
 Review comment:
   s/bite/bits?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to