Documentation
¶
Overview ¶
d2 uses compression for compressing large static assets when its built into WASM for d2.js
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DecompressBrotli ¶
func UnzipEmbeddedSVGImages ¶
imgbundler gets remote images which may be compressed by either gzip or brotli When we load the SVG into headless chromium for PNG screenshots, these compressed images are not detected as proper images that need to be waited on before we screenshot. So prior to loading the SVG into chromium page, we replace these images with their decompressed versions
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.