java - dividing the image into four equal parts in JAI -


Please give me coding to split the image into four parts from the center in Java Advanced Imaging ..

< / Div>

Not sure about JA, but here is the BufferedImage approach that you input to JAI Can use as So maybe it works for your use

  public stable buffard image [] divide (buffard image source) {// for strange width or height, ignored the last row or column To decide / this behavior is left as an exercise for the eager int height = source.getHeight () / 2; Int width = source.getWidth () / 2; Back to top I width), // bottom left source. Gate all image (width, height, width, height) // right below}; }  

Comments

Popular posts from this blog

sql - dynamically varied number of conditions in the 'where' statement using LINQ -

asp.net mvc - Dynamically Generated Ajax.BeginForm -

Debug on symbian -