summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2018-04-09 13:19:56 +0200
committerTor Andersson <tor.andersson@artifex.com>2018-04-25 12:26:33 +0200
commiteb7113c23424bcca4d45fdf2ece2b43d13095b2d (patch)
tree58341284fcca8ac44226651e1026a6da8d111ec3 /scripts
parent5dd383a4eb03c05f0e34fd166c133d567d66de3d (diff)
downloadmupdf-eb7113c23424bcca4d45fdf2ece2b43d13095b2d.tar.xz
Check in generated ICC profiles.
Diffstat (limited to 'scripts')
-rw-r--r--scripts/runiccdump.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/scripts/runiccdump.sh b/scripts/runiccdump.sh
new file mode 100644
index 00000000..10418ae5
--- /dev/null
+++ b/scripts/runiccdump.sh
@@ -0,0 +1,8 @@
+#!/bin/bash
+rm -f source/fitz/icc/*.h
+for f in resources/icc/*.icc
+do
+ b=$(basename $f)
+ echo Dumping $b
+ xxd -i $f | sed 's/unsigned/static const unsigned/' > source/fitz/icc/$b.h
+done