Hard-coded settings

There are a number of additional settings available in the script file. These settings are always active, even when the script is run in recipe mode.

  1. force_8_bit: When set to true, the script converts a 16 bit image to 8 bits, before running the spatter filter to dirty up outer mask edges. If set to false, no bit conversion takes place and the spatter filter is skipped.
  2. feather_factor_2x3: How much feathering of the border you like for 35mm. The lower value, the more feathering.
  3. feather_factor_4x3: How much feathering of the border you like for 4x3. The lower value, the more feathering.
  4. feather_factor_6x7_square: How much feathering of the border you like for square and 67. The lower value, the more feathering.
  5. feather_factor_4x5: How much feathering of the border you like for 4x5. The lower value, the more feathering.
  6. mask_flip_probaility: The probability of the scanner mask being rotated 180 degrees, from 0 to 100.
  7. blue_artefacts_odds: The probability of rendering blue artefacts, from 0 to 100. If set to 100, you’ll get blue artefacts on every run.
  8. blending_factor: The factor multiplied with feather_factor_[format] to increase the softness of the negative edge against the image. A larger factor also means that the negative rebate will bleed over more into your image. Given as a percentage, where 100 means no increased softness and 300 means three times as soft.
  9. color_check_threshold: Threshold (cut-off) for telling a color image from a black and white image, by comparing the color histogram to a desaturated histogram. Given as a percentage.
  10. blackpoint_threshold: Cumulative threshold for establishing visual black point in the image. Given as per mille. The lower the value, the lower the set black point.

The settings are hard coded at the top of the script file and are written as Javascript variable declarations, like this:

var fancy = true;

It’s important to keep this format when you make changes. Make sure the = or the ; doesn’t accidentally get deleted when you change a value. All variables must be declared, so make sure you don’t accidentally delete any lines.

Note that the setting that takes text values (not numbers, true or false), such as movement_direction, filmburn and force_format, must be enclosed with quotation marks in the script file, like this:

var movement_direction = "random";