예제 #1
0
  public Object clone() {

    final RGBFormat result =
        new RGBFormat(
            FormatUtils.clone(size),
            maxDataLength,
            dataType,
            frameRate,
            bitsPerPixel,
            redMask,
            greenMask,
            blueMask,
            pixelStride,
            lineStride,
            flipped,
            endian);

    FormatUtils.traceClone(this, result);

    return result;
  }
예제 #2
0
 @Override
 public Object clone() {
   return new GIFFormat(FormatUtils.clone(size), maxDataLength, dataType, frameRate);
 }