If people don't have a scanner they usually copy an existing image like a photo or postcard using their camera/smartphone. This often results in an off-square copy like this.
I'm told that iphone photo editor can correct the distortion but I can't find anything similar in my Samsung photo editor. I would be grateful if someone can enlighten me or, alternatively, suggest a freeware editor that can do it.