I am still very much a beginner in programming and am facing a problem with a Java code. I would be very thankful for suggestions and comments. The problem is as following:
I found a Java code online that is designed to compare two pictures and highlight the differences between them. However, the way the code works is by using a loop that compares the RGB value of each pixel of the two pictures and highlights it in a certain color...
User Profile
Collapse
-
Picture Comparison Code Not Working Properly
-
Three code errors am getting are:
When trying to rung the code i get a window saying "The selection cannot be launched, and there are no recent launches"
next to the first code line "module Image_Overlay {" am getting the error "Syntax error on token(s), misplaced construct(s)"
next to code line Nr. 7 am getting the error "The type java.awt.image. BufferedImage is not accessible"... -
Image overlay and comparison code error.
I am still very much a beginner in programming, and i am facing an issue with a code that i am hoping someone could help me with. I found the java code below for overlaying and comparing the pixels of two images in an online forum. When i try to compile the code i get a syntax error. Hope you can help me find the error. Here is the link to three images showing the errors that i am getting ( https://postimg.cc/gallery/fJZW2k5 ). Thanks in advance.... -
The code doesnt compile at all it just says syntax error
These are the errors am getting:
https://postimg.cc/gallery/fJZW2k5...Last edited by Niheel; Jul 1 '21, 11:49 AM. Reason: please post the code errors in the posts instead of using an external link. thanksLeave a comment:
-
Image overlay and comparison error
Hey everyone, I am still very much a beginner in programming, and i am facing an issue with a code that i am hoping someone could help me with. I found the code below for overlaying and comparing the pixels of two images in an online forum. When i try to compile the code i get a syntax error. Hope you can help me find the error. Thanks in advance.
Code:
Code:package stackexchange; import java.awt.Color;
No activity results to display
Show More
Leave a comment: