You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by ki...@apache.org on 2022/05/11 05:08:35 UTC

[commons-imaging] 03/04: Add 1.0-alpha3 release notes

This is an automated email from the ASF dual-hosted git repository.

kinow pushed a commit to branch release
in repository https://gitbox.apache.org/repos/asf/commons-imaging.git

commit 3bf5fdda717c386a5270d407e30ba7a009864cd7
Author: Bruno P. Kinoshita <ki...@apache.org>
AuthorDate: Wed May 11 16:57:29 2022 +1200

    Add 1.0-alpha3 release notes
---
 RELEASE-NOTES.txt | 103 +++++++++++++++++++++++++++++++++---------------------
 1 file changed, 64 insertions(+), 39 deletions(-)

diff --git a/RELEASE-NOTES.txt b/RELEASE-NOTES.txt
index 8f345b21..3d8d16fb 100644
--- a/RELEASE-NOTES.txt
+++ b/RELEASE-NOTES.txt
@@ -1,55 +1,80 @@
-              Apache Commons Imaging 1.0-alpha2
+              Apache Commons Imaging 1.0-alpha3
                   RELEASE NOTES
 
-The Apache Commons Imaging team is pleased to announce the release of Apache Commons Imaging 1.0-alpha2
+The Apache Commons Imaging team is pleased to announce the release of Apache Commons Imaging 1.0-alpha3.
 
 Apache Commons Imaging (previously Sanselan) is a pure-Java image library.
 
-Second 1.0 alpha release
+Third 1.0 alpha release
 
 Changes in this version include:
 
 New features:
-o IMAGING-248:  ICNS: missing element types; some safety checks Thanks to Greg Shrago.
-o IMAGING-245:  Add disposal method to GIF metadata Thanks to Christoffer Rydberg.
-o IMAGING-146:  Add documentation for the color package
-o IMAGING-244:  Use isEmpty instead of comparing size() with integers
-o IMAGING-243:  PNG Writer Indexed Color with semi-transparent Pixels and Better Compression Thanks to Andreas Menze.
-o IMAGING-239:  Add inflate (deflate algorithm) to TIFF files Thanks to Paul Austin.
-o IMAGING-164:  Simplify code in IcoImageParser::writeImage Thanks to Michael Groß.
-o IMAGING-165:  Add the fields from TiffReader.Collector to TiffContents Thanks to Michael Groß.
-o IMAGING-228:  Remove private method PhotometricInterpreterLogLuv#cube by Math.pow
-o IMAGING-236:  Add support to read multiple images from GIF Thanks to Christoffer Rydberg.
+o IMAGING-283:  Add CIELAB and DIN99 conversion, reduce code duplication, and issues related to zero-division and precision. Thanks to Wanja Gayk.
+o IMAGING-216:  Imaging.getBufferedImage() drops alpha layer for TIFF images. Thanks to Gary Lucas.
+o IMAGING-269:  Consolidate redundant methods in TIFF datareaders. Thanks to Gary Lucas.
+o IMAGING-268:  Add list of TIFF files and example survey application. Thanks to Gary Lucas.
 
 Fixed Bugs:
-o IMAGING-247:  Fix crash when reading TIFF using PackBits Thanks to Gary Lucas.
-o IMAGING-246:  Invalid Block Size error prevents handling of block 1084, Macintosh NSPrintInfo
-o IMAGING-163:  Add XmpEmbedabble interface to parsers that support it
-o IMAGING-151:  ColorGroup.color_counts is mutable public List and is multiply sorted
-o IMAGING-242:  Upgrade to JUnit 5
-o IMAGING-241:  Copy byte arrays fixing TODO markers
-o IMAGING-136:  Imaging.getImageInfo() fails to read JPEG file Thanks to Michael Groß.
-o IMAGING-238:  Return copied byte arrays in Png Chunk and Png Chunk ICCP
-o IMAGING-230:  Properly close resources with try-with-resources in T4AndT6Compression
-o IMAGING-134:  Invalid (RST) marker found in entropy data Thanks to Michael Sommerville.
-o IMAGING-130:  Reading of some GIF images throws java.io.IOException: AddStringToTable: codes: 4096 code_size: 12 Thanks to Michael Sommerville.
-o IMAGING-224:  Fix build errors in Travis
-o IMAGING-167:  Possible infinite loop at XpmImageParser::writeImage Thanks to Michael Groß.
-o IMAGING-211:  Imaging.getBufferedImage fails throwing java.lang.ArrayIndexOutOfBoundsException for specific inputs
-o IMAGING-210:  Imaging.getBufferedImage fails throwing NegativeArraySizeException for specific inputs
+o               Bump commons-parent from 52 to 53 #215. Thanks to Dependabot.
+o IMAGING-330:  Add PNG predictor to reduce output size. Thanks to Gary Lucas.
+o IMAGING-327:  Change getExif name to getOutputSet. Thanks to Gary Lucas.
+o IMAGING-325:  Prevent OutOfMemoryError in BmpImageParser. This can happen when the color palette length is
+                a large negative number. Thanks to Jin Wang.
+o IMAGING-320:  Read TIFFs with 32-bit samples. Thanks to Gary Lucas.
+o IMAGING-159:  The Imaging ImageParser's used HashMap's before, but on this issue we replaced the maps by proper
+                ImagingParameter classes, that encapsulate the parameters for each image format.
+
+                The Imaging class also had the HashMap methods removed, but we also removed the public methods that
+                supported parameters. This was due to the complexity to handle cases where users could provide a byte
+                array, or file, and parameters. In Java, with or without generics, it was rather difficult to handle
+                the cases where users could provide a PNG image stream with TIFF parameters.
+
+                To prevent issues like this, we will improve the ImageParser's API's, and work on either providing
+                other ways to customize and create parsers (factories, builders, etc.) or similar ways to use
+                the Imaging entry class (like merging parameters or using parameter builders.)
+
+                This was the last blocker issue of the 1.0 release vote, rolled a few years ago. Thanks to Bruno P. Kinoshita, Gary Lucas, Matt Juntunen.
+o IMAGING-168:  Encoding Support for IPTC metadata. Thanks to Yavuz Kavus.
+o IMAGING-279:  Array sizes not checked for overflow in BmpImageParser.
+o IMAGING-265:  ArrayIndexOutOfBoundsException on reading simple GeoTIFF. Thanks to Gary Lucas.
+o IMAGING-264:  BMP Parser physicalWidthDpi and physicalHeightDpi truncated before rounding off.
+o IMAGING-263:  Failure when reading a partial raster from a floating-point TIFF Thanks to Gary Lucas.
+o IMAGING-291:  Fix typos Thanks to Arturo Bernal.
+o IMAGING-289:  Fix javadoc Thanks to Arturo Bernal.
+o IMAGING-308:  Fix IptcParserTest on Windows Thanks to Gary Lucas.
+o IMAGING-266:  Read integer data from GeoTIFFS Thanks to Gary Lucas.
+o IMAGING-312:  Corrected handling of ExtraSamples tag Thanks to Gary Lucas.
+o IMAGING-285:  Decoding of Rational Numbers broken when large values present Thanks to Gary Lucas.
+o IMAGING-314:  Update examples, add GeoTIFF metadata to output Thanks to Gary Lucas.
+o IMAGING-311:  Read TIFFs with multiple floating-point sampless Thanks to Gary Lucas.
+o IMAGING-317:  A PNG image using indexed color type but no PLTE chunks throws NPE. Thanks to OSS-Fuzz.
+o IMAGING-318:  Validate when accessing GIF color table array. Thanks to OSS-Fuzz.
 
 Changes:
-o IMAGING-258:  Prevent exception in TIFF when reading EXIF directory Thanks to Gary Lucas.
-o IMAGING-260:  Fix mvn site failure with JavaNCSS parse error
-o IMAGING-259:  Enhance TIFF DataReaders speed for compressed RGB Thanks to Gary Lucas.
-o IMAGING-251:  Support for TIFF floating-point formats Thanks to Gary Lucas.
-o IMAGING-254:  Small code improvements
-o IMAGING-253:  ByteSourceInputStream has initialized its length when reading starts Thanks to David Hrbacek.
-o IMAGING-249:  Make IPTCBlock members private and add getter/setter
-o               Update tests from commons-io:commons-io 2.6 to 2.7. Thanks to Gary Gregory.
-o               Update commons-parent from 50 to 51 #88. Thanks to Dependabot.
-o               Update actions/checkout from v1 to v2.3.1 #87. Thanks to Dependabot.
-o               Update junit-jupiter from 5.5.2 to 5.6.2 #86. Thanks to Dependabot.
+o               Bump animal-sniffer-maven-plugin from 1.19 to 1.21 #120, #199. Thanks to Dependabot.
+o               Bump maven-checkstyle-plugin from 3.1.1 to 3.1.2 #117. Thanks to Dependabot.
+o               Bump spotbugs from 4.0.6 to 4.7.0 #111 #118 #123 #128 #156 #160 #167 #174 #185 #188 #191 #208 #218. Thanks to Dependabot.
+o               Bump spotbugs-maven-plugin from 4.0.4 to 4.6.0.0 #111 #115 #125 #129 #157 #171 #176 #180 #186 #192 #211. Thanks to Dependabot.
+o               Bump maven-pmd-plugin from 3.13.0 to 3.15.0 #109 #166. Thanks to Dependabot.
+o               Bump actions/setup-java from v1.4.0 to v3 #92 #95 #101 #127 #213. Thanks to Dependabot.
+o               Bump commons-io from 2.7 to 2.11.0 #96 #152 #153, #158. Thanks to Dependabot.
+o               Bump junit-jupiter from 5.6.2 to 5.8.2 #97 #119 #151 #170 #172 #187. Thanks to Dependabot.
+o               Bump actions/checkout from v2.3.2 to v3 #99 #107 #175 #181 #205. Thanks to Dependabot.
+o IMAGING-290:  Remove redundant local variable Thanks to Arturo Bernal.
+o IMAGING-288:  Java 8 improvements Thanks to Arturo Bernal.
+o IMAGING-287:  Simplify assertions in tests Thanks to Arturo Bernal.
+o IMAGING-295:  Use 'compare()' method to compare numbers Thanks to Arturo Bernal.
+o IMAGING-294:  Use java style array declaration Thanks to Arturo Bernal.
+o IMAGING-298:  Throw ImageReadException if the PNG parser is given an image with invalid ICC Profile. Thanks to OSS-Fuzz.
+o IMAGING-300:  Throw ImageReadException if the GIF parser is given an image with invalid image data instead of throwing IndexOutOfBoundsException. Thanks to OSS-Fuzz.
+o IMAGING-301:  Throw ImageReadException if the GIF parser is given an image with invalid Lzw table instead of throwing IndexOutOfBoundsException. Thanks to OSS-Fuzz.
+o IMAGING-302:  Throw ImageReadException if the JPEG parser is given an image with a negative number of segments in SOF0Segment. Thanks to OSS-Fuzz.
+o IMAGING-304:  Use Comparator combinator Thanks to Arturo Bernal.
+o IMAGING-303:  Simplify If-else conditions Thanks to Arturo Bernal.
+o IMAGING-305:  Replace Collections.sort with list.sort Thanks to Arturo Bernal.
+o IMAGING-315:  Remove redundant variables Thanks to Arturo Bernal.
+o               Bump github/codeql-action from 1 to 2 #216 Thanks to Dependabot.
 
 
 Historical list of changes: https://commons.apache.org/proper/commons-imaging/changes-report.html