code: @Override
      public ImageBuffer filter(ImageBuffer source)
      {
          final int width = source.getWidth();
          final int height = source.getHeight();
          final int[] srcData = new int[width * height];
          source.getRgb(0, 0, width, height, srcData, 0, width);
  
          final RawScale3x scaler = new RawScale3x(width, height);
          final ImageBuffer image = Graphics.createImageBuffer(width * RawScale3x.SCALE,
                                                               height * RawScale3x.SCALE,
                                                               source.getTransparentColor());
          image.setRgb(0,
                       0,
                       width * RawScale3x.SCALE,
                       height * RawScale3x.SCALE,
                       scaler.getScaledData(srcData),
                       0,
                       width * RawScale3x.SCALE);
          return image;
      }
docs: /*
  Filter