Have one tif image which contains QR code on the top right. Now I want to read only that corner of Image using java. I am trying with FileInputStream
but it's not working.
Is any one knows how to read specific area of Image using java?
Have one tif image which contains QR code on the top right. Now I want to read only that corner of Image using java. I am trying with FileInputStream
but it's not working.
Is any one knows how to read specific area of Image using java?
Reading a specific portion from an image is basically more complex than just reading the entire image. Just read the image normally (JAI handles TIF: http://www.oracle.com/technetwork/java/current-142188.html) and copy the desired portion into a new image if needed.