I am trying to achieve something on python.
I wanna compare 2 images and see how much similar they are. I found SSIM method, but my images may have different resolution and color mode, so they cant be compared with SSIM-PIL.
My idea was converting the png image into jpg, but when I do that, all the background turns black, which results into a mess for the operations after.
I know Pillow has the method convert()
for images, but if I convert a RGBA color mode image into RGB, the background goes black.
Any suggestions please?
EDIT
Please stop saying there is another question similar that may help me, because it doesnt.