Photo manipulation itself is legal, but using someone else’s content without their permission is not. It falls under copyright infringement.