Better comment

This commit is contained in:
Harald Kuhr 2023-10-20 20:20:59 +02:00
parent dabc26bdb5
commit ad437c2470

View File

@ -1070,7 +1070,7 @@ public final class PSDImageReader extends ImageReaderBase {
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;
}