Skip to content

Latest commit

 

History

History
30 lines (23 loc) · 1.45 KB

ARCHITECTURE.md

File metadata and controls

30 lines (23 loc) · 1.45 KB

Architecture

The goal of this document is to provide information on renderer's tech design.

premultiplied sharp option

As of Jan 2023, there is almost no documentation that goes deep into this option so the below information is the result of personal experimentation.

In short, to make Sharp render output that matches the one in the browser, premultiplied option needs to be set to true for certain blend modes like:

  • hard-light
  • screen
  • lighten
  • multiply
  • overlay

Good blueprint examples used for testing this: