Java BufferedImage Crop doCrop(BufferedImage bufferedImage, int cropX, int cropY, int width, int height)

Here you can find the source of doCrop(BufferedImage bufferedImage, int cropX, int cropY, int width, int height)

Description

do Crop

License

Apache License

Declaration

private static BufferedImage doCrop(BufferedImage bufferedImage, int cropX, int cropY, int width, int height) 

Method Source Code

//package com.java2s;
//License from project: Apache License 

import java.awt.image.BufferedImage;

public class Main {
    private static BufferedImage doCrop(BufferedImage bufferedImage, int cropX, int cropY, int width, int height) {
        return bufferedImage.getSubimage(cropX, cropY, width, height);
    }/*from  w ww  .j av  a 2s.  c o  m*/
}

Related

  1. croppedCopy(BufferedImage image, int startX, int startY, int endX, int endY)
  2. cropScale(BufferedImage source, int width, int height)
  3. cropToAspectRatio(BufferedImage image, float aspect)
  4. cropToBeSameSize(BufferedImage image1, BufferedImage image2)
  5. divideImage(BufferedImage bi, int rows, int cols, int width, int height)
  6. drawCropped(JPanel contentPane, ActionListener listener, BufferedImage img, int type, int sx1, int sy1, int sx2, int sy2, int x, int y, int scale)
  7. ImageCrop(String sourcePath, String descPath, int cropX, int cropY, int width, int height)
  8. imgUtilFastCrop(BufferedImage src, int x, int y, int width, int height)
  9. zealousSubsCrop(BufferedImage img)