"/tmp/test.jpg" is not the correct path – this path starts with / which is the root directory.
In unix, the shortcut to the current directory is .
Try this "./tmp/test.jpg"
"/tmp/test.jpg" is not the correct path – this path starts with / which is the root directory.
In unix, the shortcut to the current directory is .
Try this "./tmp/test.jpg"