Hi,
I need to write some java code that will compare two strings and if they both end with the same sub-string.
eg.
String NAME
String TEST
if (the last 7 characters of the string are...
Type: Posts; User: tuathan
Hi,
I need to write some java code that will compare two strings and if they both end with the same sub-string.
eg.
String NAME
String TEST
if (the last 7 characters of the string are...
I need to write a if statement that checks if two arrays are equal and then performs some task.
i.e.
if java.util.Arrays.equals(data1, data2) = true
then
{ do something }
i figured it out. I perform two Linux 'convert' commands on the original PNG image. this somehow corrupts the data. I have modified my code to crop from the image output after the initial 'convert'...
I have got some code to read in an image, crop a region from the image and compare with a reference image.
It seems to compile and work ok until the line
data1 = (int[]) grab1.getPixels(); at...