I am using wideimage script for image progressing.
It seem when I execute $rounded->saveToFile('test.jpg') to save file, it does not return true or false if the image has been saved.
var_dump($rounded->saveToFile('test.jpg'));
var_dump is showing null even if file has been saved.
So what is the solution to find out if the image has been saved?
I took a look at the source code. It will throw an exception (
WideImage_UnknownErrorWhileMappingException) if the file cannot be saved.