Browse Source

Initial commit

cinaeco 5 năm trước cách đây
commit
1bf5bf5f3e
8 tập tin đã thay đổi với 58 bổ sung0 xóa
  1. BIN
      AdobeRGB1998.icc
  2. 24 0
      README.md
  3. 6 0
      checkprofile.sh
  4. 8 0
      gencharts.sh
  5. 7 0
      genprofile.sh
  6. 1 0
      profilename
  7. 6 0
      readagain.sh
  8. 6 0
      readcharts.sh

BIN
AdobeRGB1998.icc


+ 24 - 0
README.md

@@ -0,0 +1,24 @@
+# ArgyllCMS Scripts
+
+Small scripts for profiling a printer using ArgyllCMS.
+
+## Specs
+
+This setup for use with a ColorMunki Photo. The colour patches are small, and a
+guide will be needed.
+
+## Usage
+
+    # Set a profile name e.g. PrinterName_PaperDesc
+    $ vim profilename
+
+    $ gencharts.sh
+    $ readcharts.sh
+    $ genprofile.sh
+
+    # If max errors are high (>3.0), check the offending lines
+    $ checkprofile.sh
+
+    # Re-read columns as necessary. Will need to `genprofile.sh` again after.
+    $ readagain.sh
+

+ 6 - 0
checkprofile.sh

@@ -0,0 +1,6 @@
+#!/usr/bin/env bash
+set -euo pipefail
+IFS=$'\n\t'
+
+NAME=$(cat ./profilename)
+profcheck -k -v2 $NAME.ti3 $NAME.icc | sort

+ 8 - 0
gencharts.sh

@@ -0,0 +1,8 @@
+#!/usr/bin/env bash
+set -euo pipefail
+IFS=$'\n\t'
+
+NAME=$(cat ./profilename)
+targen -v -d 2 -G -g 32 -f 1656 $NAME
+# Targeting 8.2mm x 8.3mm patches, with 1mm spacers, staggered layout.
+printtarg -v -iCM -h -a 0.6 -A 1.68 -R 1 -T 300 -p A4 $NAME

+ 7 - 0
genprofile.sh

@@ -0,0 +1,7 @@
+#!/usr/bin/env bash
+set -euo pipefail
+IFS=$'\n\t'
+
+NAME=$(cat ./profilename)
+colprof -v -qh -r1.0 -S AdobeRGB1998.icc -cmt -dpp -D"$NAME" $NAME
+profcheck -k $NAME.ti3 $NAME.icc

+ 1 - 0
profilename

@@ -0,0 +1 @@
+HPC4580_EbayInk_JBurrows120gsm170cieb

+ 6 - 0
readagain.sh

@@ -0,0 +1,6 @@
+#!/usr/bin/env bash
+set -euo pipefail
+IFS=$'\n\t'
+
+NAME=$(cat ./profilename)
+chartread -v -r -H -T0.4 $NAME

+ 6 - 0
readcharts.sh

@@ -0,0 +1,6 @@
+#!/usr/bin/env bash
+set -euo pipefail
+IFS=$'\n\t'
+
+NAME=$(cat ./profilename)
+chartread -v -H -T0.4 $NAME