apertaluce 0.1.0 → 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -20,8 +20,11 @@ export interface FrameOverlayOptions {
20
20
  /** Tiles across the frame's shorter side. */
21
21
  tilesPerShortSide?: number;
22
22
  }
23
- /** Tuned on H.264 re-encodes (bench/video.ts). */
24
- export declare const FRAME_MARK_AMPLITUDE = 3;
23
+ /**
24
+ * Tuned on H.264 re-encodes (bench/video.ts). At 3 the pattern showed as a film over flat
25
+ * areas of the frame; 2 is the lowest amplitude the bench was run at.
26
+ */
27
+ export declare const FRAME_MARK_AMPLITUDE = 2;
25
28
  export declare const FRAME_MARK_TILES = 4;
26
29
  /**
27
30
  * One 8-bit grey plane, `width`×`height`, where 128 means "leave the pixel"
@@ -11,8 +11,11 @@
11
11
  * encode video: frames come from and go to whatever codec the host uses.
12
12
  */
13
13
  import { detectPixelMark, pixelMarkPlane } from "../image/mark.js";
14
- /** Tuned on H.264 re-encodes (bench/video.ts). */
15
- export const FRAME_MARK_AMPLITUDE = 3;
14
+ /**
15
+ * Tuned on H.264 re-encodes (bench/video.ts). At 3 the pattern showed as a film over flat
16
+ * areas of the frame; 2 is the lowest amplitude the bench was run at.
17
+ */
18
+ export const FRAME_MARK_AMPLITUDE = 2;
16
19
  export const FRAME_MARK_TILES = 4;
17
20
  /**
18
21
  * One 8-bit grey plane, `width`×`height`, where 128 means "leave the pixel"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "apertaluce",
3
- "version": "0.1.0",
3
+ "version": "0.3.0",
4
4
  "description": "Keyed, invisible marks for pictures, sound and video that survive re-encoding and editing. Pure TypeScript, no dependencies.",
5
5
  "type": "module",
6
6
  "main": "./lib/index.js",