case FILTER_POINT: if (input.getType() != BufferedImage.TYPE_CUSTOM) { return fastResample(input, output, width, height, AffineTransformOp.TYPE_NEAREST_NEIGHBOR); return fastResample(input, output, width, height, AffineTransformOp.TYPE_BILINEAR); return fastResample(input, output, width, height, AffineTransformOp.TYPE_BICUBIC); return fastResample(input, output, width, height, AffineTransformOp.TYPE_BILINEAR);
case FILTER_POINT: if (input.getType() != BufferedImage.TYPE_CUSTOM) { return fastResample(input, output, width, height, AffineTransformOp.TYPE_NEAREST_NEIGHBOR); return fastResample(input, output, width, height, AffineTransformOp.TYPE_BILINEAR); return fastResample(input, output, width, height, AffineTransformOp.TYPE_BICUBIC); return fastResample(input, output, width, height, AffineTransformOp.TYPE_BILINEAR);
return fastResample(pInput, pOutput, mWidth, mHeight, AffineTransformOp.TYPE_NEAREST_NEIGHBOR); case FILTER_TRIANGLE: return fastResample(pInput, pOutput, mWidth, mHeight, AffineTransformOp.TYPE_BILINEAR); case FILTER_QUADRATIC: if (TRANSFORM_OP_BICUBIC_SUPPORT) { return fastResample(pInput, pOutput, mWidth, mHeight, 3); // AffineTransformOp.TYPE_BICUBIC return fastResample(pInput, pOutput, mWidth, mHeight, AffineTransformOp.TYPE_BILINEAR);