Skip to content

Commit

Permalink
Better comment
Browse files Browse the repository at this point in the history
  • Loading branch information
haraldk committed Oct 20, 2023
1 parent dabc26b commit ad437c2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1070,7 +1070,7 @@ private BufferedImage readLayerData(final int layerIndex, final ImageReadParam p
final int height = getLayerHeight(layerIndex);

// TODO: This behaviour must be documented!
// If layer has no pixel data, return null
// If layer has no pixel data, return null, as we can't create a 0 x 0 sample model/raster
if (width <= 0 || height <= 0) {
return null;
}
Expand Down

0 comments on commit ad437c2

Please sign in to comment.