MELD > How to compare a .img with a .iso disk image file

Meld doing such operations ineffectively slow.

I assume that you have correctly mounted both images.

Then I would recommend to install FreeFileSync instead from FlatHub by

sudo apt-get install flatpak
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
flatpak install flathub org.freefilesync.FreeFileSync

then launch FreeFileSync using dash or flatpak run org.freefilesync.FreeFileSync and run comparison in File Contents mode:

FreeFileSync in File Contents mode


FreeFileSync works great in conjunction with Meld (sudo apt-get install meld) for comparison of file-contents.
You need to open FreeFileSync options (ToolsOptions) and then add the following to the first line:

Description Command line
Compare files in Meld meld "%item_path%" "%item_path2%"

as shown on screenshot:

FreeFileSync Tools→Options