- changed status to closed
saveTiff, savePNG... raise a strange exception if folder of filename does not exist
Issue #18
closed
RuntimeError: cv: inwrite exited with false!
is raised if the folder of the new image does not exist. The folder has to be created before.
The exemplary command is:
itom.algorithms.saveTiff(img, filename="C:/temp/myimg.tiff", palette="gray16")
This issue is related to https://bitbucket.org/itom/itom/issues/228/command-to-save-images-in-tiff-format
Solution: Provide a better error message for this case.
Comments (1)
-
reporter - Log in to comment
fixes in commit 148d433