Project

qttk

0.0
No commit activity in last 3 years
No release in over 3 years
Quadtone Toolkit (QTTK): Tools for working with the quadtone printing process.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 12.3

Runtime

~> 3.2
~> 0.1
~> 1.9
~> 2.0
~> 2.16
~> 1.0
 Project Readme

Quadtone Toolkit (QTTK)

NOTE: This README is out of date relative to the current code. Apologies.

QTTK provides a set of tools for printmakers who use the quadtone inkjet printing process. It works in conjunction with the QuadtoneRIP (QTR) grayscale printing system.

At the moment, the software consists largely of libraries of code (written in the Ruby programming language) and a single command-line tool. Hence, it is probably not interesting to most printmakers unless they are either programmers or people comfortable with the Unix command line. Additionally, printmakers who are happy with Epson's 'automatic black and white' mode, the default QTR profiles, or the Piezography system can probably feel comfortable in staying with the process they currently use.

However, if you are interested in printing on obscure papers, hand-mixing your own inks, or otherwise want more control and knowledge over the printmaking process, these tools may help. I originally wrote them because I was dissatisfied with the perception of the quadtone process being 'black magic,' inaccessible, or unscientific. It is my hope that tools like QTTK will increase the understanding and acceptance of the quadtone inkjet process.

At some point, given sufficient interest and motivation, I may write a graphical interface (GUI) to the underlying code. In the meantime, please enjoy the art and craft of the Unix command line.

Capabilities

QTTK enables you to:

  • Generate profiling targets to be printed and analyzed. Many parameters can be set, including paper size, color mode (either QTR calibration or grayscale), ink channels, ink limits, and patch oversampling rates. In addition to an image file (TIFF), a reference data file is also generated, which can be used by MeasureTool or other color profiling systems.

  • Analyze measurements of printed reference targets. Individual ink channels are detected, as well as tonal response curves, maximum-density points, and other data. Grayscale ink separations can be easily calculated, as well as linearization curves for grayscale targets.

  • Create visual charts and graphs of analyzed information, including response curves and density scales.

  • Build and install QTR profiles, based on measured data, avoiding complex and error-prone manual calculations.

  • Preview how images will print through particular QTR profiles, actually separating a grayscale image into the ink channels as represented in the the QTR curve files.

QTTK intentionally makes few assumptions about equipment and materials. This allows for flexibility, as well as dealing with 'worst case' scenarios. Say you've obtained an old printer with a broken magenta channel, and a yellow channel that refuses to unclog. You've mixed your own inks by hand (using, say, Paul Roark's C6 base; see below for details) at some approximate dilutions. And you are using an exotic paper, not even designed for inkjet. QTTK's tools will allow you to make that a workable scenario.

Philosophy

The development of these tools came out of a over a decade's work with the quadtone process, and a great deal of thinking about how these tools fit into the printmaking process. From my experience, I came up with a short list of guiding principles (inspired by Christopher Alexander's Pattern Language) to serve as a basis for developing this software.

  • Make tools, not products: Any craftsman has a set of tools which are optimized for specific uses, yet work together to solve a wide variety of problems. Having access to the right tools allows the printmaker to attain the same results as prepackaged, point-and-click software, or to indeed rise above those results. Therefore, design a decent set of tools that can be used in many ways. Further, design tools so they can be augmented or modified as needed.

  • Encourage understanding of process: Much of the modern digital printing process is hidden beneath layers of abstraction and automation. This often denies the possibility of understanding how things really work. True craftsmanship relies on an understanding of materials, processes, and tools. Therefore, as much as possible, show the workings of the process, so they can be both understood and expanded.

  • Apply scientific principles: Most digital printmakers use materials and equipment that are extraordinarily accurate (printers, computers, ink, paper), with results that are repeatable and measurable. Yet existing printmaking tools either discourage measurement at all (presuming that all situations are identical) or go about it using repetitive, error-prone manual methods. Therefore, encourage measurement and analysis (along with understanding of that analysis) at all points of the process.

  • Allow craft & expressiveness: Art lies partly in vision, and partly in process. An artist must be able to work symbiotically with a process, experimenting with materials and observing reactions, and adjusting to those observations. A process that discourages experimentation or adjustments, or whose tedium results in an artist giving up on experimentation, will result in poorer art. Therefore, provide tools for experimentation, measurement, analysis, and production which encourage the highest level of craft.

Example usage

There is a single binary command installed, called qt. This binary has several subcommands, referred to here as 'tools'. Here are a few examples:

# Add a new printer
qt add-printer Quad4000-C6

# Examine the printer's options
qt printer-options

# Make a directory for a new profile
mkdir GenericMatte
cd GenericMatte

# Initialize a new profile for a given printer, specific inks, and a particular resolution
qt init --printer Quad4000-C6 --inks K,C,M,LC,LM,Y --resolution XXX

# Create characterization and linearization target files (both data & images)
qt target

# Print the characterization target
qt print --calibrate characterization.reference.tif

# Measure the printed characterization target
# (measure using MeasureTool, save as 'characterization.measured.txt')

# Characterize the profile based on the measured data; also install as QTR curve
qt profile

# Print the linearization target
qt print linearization.reference.tif

# Measure the printed linearization target
# (measure using MeasureTool, save as 'linearization.measured.txt')

# Generate SVG chart for measured linearization target (open with SVG-aware browser)
qt chart linearization.measured.txt

# Generate SVG charts for profile (both characterization & linearization) (open with SVG-aware browser)
qt chart

# Read image.jpg and create grayscale channel separations, based on existing curve (outputs montaged separations to image.tif)
qt separate /Library/Printers/QTR/quadtone/Quad4000-C6/GenericMatte.quad --montage image.jpg

Printing a target

It is essential that you can print a target without its values being modified by the application that's printing it. I have had little luck with Lightroom, and Photoshop has been classically tricky to get right, especially on a Mac. OS X's Preview application seems to do fine, as does Adobe Color Printer Utility.

Measuring a printed target

First, let the profile dry completely at room temperature, or use a hair dryer, microwave oven, or other heater to dry more quickly.

Place several (2-3) sheets of paper of the same type as the printed target on your workspace, with the printed target on top. (This ensures that the workspace color will not affect the readings.)

When using a strip-reading spectrophotometer, move the instrument slowly across the strip being read. If a row continues to have errors, you may need to read the patches spot by spot, instead of by strip.

Installation

Prerequisites:

  • Mac OS X (10.6 or later)
  • Ruby (1.9.2 or later)
  • Various Ruby modules (see qttk.gemspec for latest requirements, but generally these will be installed automatically)
  • ImageMagick (6.7 or later)
  • ArgyllCMS (1.3.6 or later)
  • QuadtoneRIP, Roy Harrington's QuadtoneRIP shareware ($50) grayscale RIP system. For Windows, it is a standalone application; for OS X, it is installed as a set of printer drivers and supporting profiles and other resources.
  • an inkjet printer supported by QTR (see QTR requirements), loaded with several gray shades of ink
  • an EyeOne (i1) spectrophotometer (other devices, perhaps including flatbed scanners, to be supported in the future)

I highly suggest that you install Ruby using RVM, ImageMagick using Brew, and ArgyllCMS and QuadtoneRIP using their respective binary package installers.

Once the above packages are present, install QTTR by typing:

$ gem install quadtone

QTTK has been developed and tested under Mac OS X Lion (10.7). While it is in the development phase, QTTK is not designed or guaranteed to be usable on any other versions of OS X, or indeed any other systems.

Further information and resources

  • Paul Roark has an extremely useful library of Digital Black & White Printing Information. His work on 'homebrewed' carbon inkjet inks (see http://www.paulroark.com/BW-Info/Ink-Mixing.pdf) is particularly valuable to me, and will be for any aspiring printmaker.

  • Jon Cone and his associates have been pioneers in quadtone inkjet printing. Their Piezography system has gone through several incarnations, and was where I started quadtone printing with the now-antique Epson 1160. Although they now utilize QTR as their software, they use a proprietary method of generating much smoother curves. They also sell their own quadtone inks, in a variety of tones and channels.

  • MIS (aka InkSupply.com) is one of the primarily distributors of quadtone-capable inks. They sell a variety of inks in both pre-packaged cartridges for many Epson printers, as well as bulk bottles so you can refill or mix your own. The black pure-carbon pigment product Eboni-6 (K) is the usual starting point for most homebrewing printmakers. With that, plus the ingredients for Paul Roark's C6 base, you'll be making your own inks and, hopefully, profiling them with QTTK.