plate-engine - v0.1.0
    Preparing search index...

    Function engravingCurve

    • The site's contrast curve for scanned engravings, applied in place inside region (default: everything). Old scans have yellowed paper and grey ink, so it stretches the 2nd percentile to black and the 85th to white (most of an engraving is paper), then leans dark with a power of 1.5 and a smoothstep so fine lines read as ink rather than a mid-tone wash.

      Parameters

      • lum: Float32Array
      • width: number
      • height: number
      • Optionalregion: Region

      Returns Float32Array