mirror of
https://github.com/haraldk/TwelveMonkeys.git
synced 2025-08-03 03:25:28 -04:00
Better comment
This commit is contained in:
parent
dabc26bdb5
commit
ad437c2470
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user