Problem is as title says.
The specific image used is of size 2328 px by 1573 px.
Resizing it fixed the problem.
Also, I don't know if its a bug or not but when importing images, some jpgs do not work.
"Invalid JPEG file structure: two SOI markers."