linguist icon indicating copy to clipboard operation
linguist copied to clipboard

Setup pipeline to maintain screenshots

Open vitonsky opened this issue 1 year ago • 1 comments

We don't have process to maintain a screenshots, let's introduce it. We need a script to build preview images.

  • Create HTML template with background, texts and place for screenshot
  • Provide JSON with texts and path to file with screenshot
  • Build HTML page and apply CSS
  • Render page once and save image
  • Resize image for browser stores

vitonsky avatar Apr 24 '23 19:04 vitonsky

This task done, because we introduce svg files with a templates for each screen. Texts in SVG files can be analyzed and handled by utils, so maintaining can be automated.

vitonsky avatar Apr 25 '23 01:04 vitonsky