목차

Java Image

JAI - Java Advanced Imaging

Image to BufferedImage

Image 객체를 BufferedImage 객체로 변환하는 방법

JAI Crop Image

RenderedImage ri = JAI.create(“fileload”,pathandfilename);
 
public void crop() {
  pb = new ParameterBlock();
  pb.addSource(ri);
  pb.add((float)topLeftmx);
  pb.add((float)topLeftmy);
  pb.add((float)roiWidth);
  pb.add((float)roiHeight);
  ri = JAI.create(“crop”,pb);
}

imgscalr

Twelvemonkeys ImageIO

WebP