Java Image Cut cutImage(BufferedImage image, int posX, int posY, int width, int height)

Here you can find the source of cutImage(BufferedImage image, int posX, int posY, int width, int height)

Description

cut Image

License

Open Source License

Declaration

public static BufferedImage cutImage(BufferedImage image, int posX, int posY, int width, int height) 

Method Source Code

//package com.java2s;
//License from project: Open Source License 

import java.awt.image.BufferedImage;

public class Main {
    public static BufferedImage cutImage(BufferedImage image, int posX, int posY, int width, int height) {
        return image.getSubimage(posX, posY, width, height);
    }/*from w w  w  .j a  v a2s. c om*/
}

Related

  1. cropImage(Image img, int x, int y, int w, int h)
  2. cropImage(Image originalImage, int left, int top, int right, int bottom)
  3. cropImage(URL url, float x, float y, float w, float h, OutputStream out)
  4. cut(String srcImageFile, String result, int x, int y, int width, int height)
  5. cut2(String srcImageFile, String descDir, int rows, int cols)
  6. cutImage(BufferedImage img, int w, int h)
  7. cutImage(File file, int x, int y, int width, int heigth)
  8. cutImage(final BufferedImage bufferedImage, final int targetW, final int targetH)
  9. cutImage(String src, String dest, int x, int y, int w, int h)