How to compare in Android SDK 2 identical pictures but with different resolutions
<p>I have to make a junit test for an application.
My application displays 2 pictures.
I have extracted from the apk the 2 pictures as PNG using bitmap.compress, at the resolution my android emulator was running.
I build a junit apk using also robotium so i can run it using instrumentation.
Now i have a problem. My test works if  i run it with emulator configured at the resolution when the picture were taken. I compare the pictures pixel by pixel.
It seems that in the apk that i need to test the 2 picture are generated dynamically depending on the device resolution</p>

<p>Now my question is: is there any way to compare 2 pictures and see if they are identical if they have different sizes, resolutions?</p>
