Using the Picture class from Worked Example 6.2, write a method: that superimposes two pictures, yielding a

Question:

Using the Picture class from Worked Example 6.2, write a method:

image text in transcribed

that superimposes two pictures, yielding a picture whose width and height are the larger of the widths and heights of pic1 and pic2. In the area where both pictures have pixels, average the colors.

Data from worked example 6.2

image text in transcribed

image text in transcribed

image text in transcribed

image text in transcribed

image text in transcribed

••

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question
Question Posted: