// When scaling by 1.0 in both x and y, a copy is all we need
if (xScale == 1.0F && yScale == 1.0F){
// Use CopyOpImage as MlibCopyOpImage doesn't handle
// binary-to-gray case.
return new CopyOpImage(source, hints, layout);
}
return new MlibSubsampleBinaryToGrayOpImage(source,
layout,
hints,