Jump to content

Percentage difference between images: Difference between revisions

Fixed D entry
(Fixed D entry)
Line 338:
void main() {
Image!RGB i1, i2;
i1 = i1.loadPPM6("Lenna50.ppm");
i2 = i2.loadPPM6("Lenna100.ppm");
 
enforce(i1.nx == i2.nx && i1.ny == i2.ny, "Different sizes.");
Cookies help us deliver our services. By using our services, you agree to our use of cookies.