Open p0nce opened 11 months ago
Simplify these patterns:
if (!img.isValid) throw new Exception(img.errorMessage().idup);
Also this pattern is wrong! No error message on saving files.
if (!image.saveToFile("path.ext")) throw new Exception(img.errorMessage().idup);
Simplify these patterns:
Also this pattern is wrong! No error message on saving files.