Before
After
Both images are drawn on a canvas at the size of the larger one; if they differ, the smaller is scaled to match so the slider lines up. Export produces a PNG — the slider view is captured at the current split. Everything runs on your device.