Question: Using the Picture class from Worked Example 4.2, write a program that reads in the file names of two pictures and superimposes them. The result
Using the Picture class from Worked Example 4.2, write a program that reads in the file names of two pictures and superimposes them. The result is a picture whose width and height are the larger of the widths and heights of both pictures. In the area where both pictures have pixels, average the colors.
Step by Step Solution
3.45 Rating (168 Votes )
There are 3 Steps involved in it
Heres a sample program that demonstrates how to superimpose two images in Java using the Picture cla... View full answer
Get step-by-step solutions from verified subject matter experts
