UE4 plugins that works like World Composer in Unity3D

Be mindful of that.
You need to keep the files in the proper format - 16bit.
If you open it and edit it in photohsop for instance, you loose almost all the data as it converts it down.

You really shouldn’t be editing the map at all unless the program is 16bit capable, like Krita.
Any sort of format compression applied by the program will shift your height bands up or down depending on the algorithm - you loose fidelity.

World machine is obviously better suited to this.

You can do the tiling via QGIS, I have explained how in this forum several times. Even given scripts for it.

With python/imagemagick the issue is the same. You need something that properly handles 16bit.
Try Nip2

You have to script a system to rename the tiles to what you need, as when it chops it up its just a numerical increment.
Any bash script can do that correctly without changing the file, the important part is that it natively handles the file in 16bit without any particular considerations.