Skip to content

Commit

Permalink
add more magic bytes, use only appropriate loader when magic matches
Browse files Browse the repository at this point in the history
  • Loading branch information
ralfbrown committed Aug 23, 2024
1 parent 5c27f54 commit c86d76d
Show file tree
Hide file tree
Showing 2 changed files with 365 additions and 112 deletions.
3 changes: 2 additions & 1 deletion src/common/image.h
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,8 @@ typedef enum dt_imageio_retval_t
DT_IMAGEIO_FILE_NOT_FOUND, // file has been lost
DT_IMAGEIO_LOAD_FAILED, // file either corrupted or in a format
// not supported by the current loader.
DT_IMAGEIO_CACHE_FULL // buffer allocation for image data failed
DT_IMAGEIO_CACHE_FULL, // buffer allocation for image data failed
DT_IMAGEIO_UNRECOGNIZED // file format was not recognized by loader(s)
} dt_imageio_retval_t;

typedef enum dt_imageio_write_xmp_t
Expand Down
Loading

0 comments on commit c86d76d

Please sign in to comment.