Skip to content

Commit

Permalink
DICOM: copy provided codec options when recompressing
Browse files Browse the repository at this point in the history
In particular, this will make use of any provided quality value.
  • Loading branch information
melissalinkert committed Mar 25, 2024
1 parent 303b3d5 commit f014149
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -532,7 +532,7 @@ else if (x % thisTileWidth != 0 || y % thisTileHeight != 0 ||
}
else {
Codec codec = getCodec();
CodecOptions options = new CodecOptions();
CodecOptions options = new CodecOptions(getCodecOptions());
options.width = tileWidth[resolutionIndex];
options.height = tileHeight[resolutionIndex];
options.channels = getSamplesPerPixel();
Expand Down

0 comments on commit f014149

Please sign in to comment.