cad_image_strip library
Browser-safe image-heavy CAD fixture builders.
Import this focused library from web tests instead of the package umbrella, which also exports intentionally VM-only 64-bit fixture generators.
Classes
- PdfTileSpec
- One image tile placed on the sheet.
Enums
- PdfTileCodec
- How a tile's pixels are encoded into the PDF.
Functions
-
buildSyntheticCadImageStrip(
{required List< PdfTileSpec> tiles, int ops = 500000, int streams = 8, int seed = 20260720, double pageW = 8503.939, double pageH = 841.89}) → Uint8List -
Builds the image-heavy variant of the wide CAD strip
(
buildSyntheticCadStrip): the same ~8504 x 842 pt single-sheet drawing, with a grid of large raster tiles composited under the linework.