Skip to content

Commit

Permalink
Merge pull request #401 from dbmdz/dependabot/maven/com.twelvemonkeys…
Browse files Browse the repository at this point in the history
….imageio-imageio-tiff-3.10.1

build(deps): bump com.twelvemonkeys.imageio:imageio-tiff from 3.9.4 to 3.10.1
  • Loading branch information
schmika authored Apr 9, 2024
2 parents c3af667 + 7e72e95 commit 882739f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@
<dependency>
<groupId>com.twelvemonkeys.imageio</groupId>
<artifactId>imageio-tiff</artifactId>
<version>3.9.4</version>
<version>3.10.1</version>
</dependency>
<dependency>
<groupId>de.digitalcollections.commons</groupId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,7 @@ private DecodedImage readImage(
}
}

/** Apply transformations to an decoded image * */
/** Apply transformations to a decoded image * */
private BufferedImage transformImage(
BufferedImage inputImage,
Dimension targetSize,
Expand Down Expand Up @@ -403,7 +403,7 @@ private BufferedImage transformImage(
outType = BufferedImage.TYPE_3BYTE_BGR;
break;
default:
outType = inType;
outType = inType == BufferedImage.TYPE_CUSTOM ? BufferedImage.TYPE_3BYTE_BGR : inType;
}
if (outType != img.getType()) {
BufferedImage newImg = new BufferedImage(img.getWidth(), img.getHeight(), outType);
Expand Down

0 comments on commit 882739f

Please sign in to comment.