Skip to content
Snippets Groups Projects
Commit 13861b7e authored by Andreas Romeyke's avatar Andreas Romeyke
Browse files

- added support for ICC profile checking

parent 08ee3635
No related branches found
No related tags found
No related merge requests found
......@@ -95,6 +95,8 @@ validators[______lfulg_tif__current]="/usr/bin/checkit_tiff_current /etc/checkit
validators[______lfulg_tif_upcoming]="/usr/bin/checkit_tiff_upcoming /etc/checkit_tiff/retrogeomono_upcoming FILE"
validators[___fotothek_tif__current]="/usr/bin/checkit_tiff_current /etc/checkit_tiff/retrofoto_current FILE"
validators[___fotothek_tif_upcoming]="/usr/bin/checkit_tiff_upcoming /etc/checkit_tiff/retrofoto_upcoming FILE"
validators[_____kitodo_icc__current]="/usr/bin/iccDumpProfile -v FILE"
validators[_____kitodo_icc_upcoming]="/usr/bin/iccDumpProfile -v FILE"
set -o nounset # Treat unset variables as an error
......@@ -325,6 +327,9 @@ prepare_ftype() {
"video/x-matroska")
ftype="mkv"
;;
"application/vnd.iccprofile")
ftype="icc"
;;
*)
error "unknown file format '$mimetype'"
exit 1
......@@ -344,6 +349,9 @@ estimate_mode() {
"video/x-matroska")
MODE="save"
;;
"application/vnd.iccprofile")
MODE="kitodo"
;;
*)
error "workflow not detectable"
exit 1
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment