Sunday, November 3, 2019

JAVA Image Basic Operations


Motivation

I want to implement visual testing with Selenium screenshot so need to know basic operations of Image in JAVA.

Simple Note

Testing file TestBasicOperations.java
Including read image file, get information of each pixel, draw rectangle on loaded image then save it.

Pixel class Pixel.java
for store information of each pixel

References

Java - get pixel array from image

Java 8: Replace traditional for loops with IntStreams

No comments:

Post a Comment