20 package net.sf.gridarta.utils;
22 import java.awt.image.RGBImageFilter;
23 import org.jetbrains.annotations.NotNull;
35 public int filterRGB(
final int x,
final int y,
final int rgb) {
37 return rgb >>> 24 == 0 ? rgb : rgb & 0x00FFFFFF | 0x80000000;
int filterRGB(final int x, final int y, final int rgb)
Converts a pixel by increasing the transparency.
An image filter creating transparent images.