Skip to content

Latest commit

 

History

History
20 lines (17 loc) · 433 Bytes

line2bitmap.md

File metadata and controls

20 lines (17 loc) · 433 Bytes

This layer (line2bitmap) converts geometry figures (lines) to bitmaps.

{
  "action": "line2bitmap",
  "src": ["$sample1"],
  "dst": "$sample2",
  "settings": {
    "classes_mapping": {
      "some-lines": "some-lines-bitmap"
    },
    "width": 2
  }
}

Settings

  • classes_mapping — dict where keys are existing classes of shape line, and values are new names of classes.
  • width — line width in pixels.