Based on the comments:
The documentation assumes that the filter
Image
property controls the scaling of images. To scale the image without anti-aliasing, use the nearest neighbor filter :
Image original = β¦; original.setFilter(Image.FILTER_NEAREST); Image scaled = original.getScaledCopy();
source share