alicevision / AliceVision

Photogrammetric Computer Vision Framework
http://alicevision.org
Other
2.9k stars 807 forks source link

Bugfix when checking raw format #1572

Closed demoulinv closed 8 months ago

demoulinv commented 9 months ago

Description

Currently, when checking if an image is encoded in a raw format, if the image does not exist, a crash occurs without any information.

This PR corrects that behavior by throwing an error with an information message about the missing file.

Former duplicated code is now factorized.

Features list

Implementation remarks