-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Closed
Labels
feature requestNew feature or requestNew feature or requestgood contributionSuitable for contribution, but unlike "good first issue", it may need prior experienceSuitable for contribution, but unlike "good first issue", it may need prior experiencescriptingAbout Typst's coding capabilitiesAbout Typst's coding capabilitiesvisualizeRelated to the visualize category, which is about drawing and illustratingRelated to the visualize category, which is about drawing and illustrating
Description
Description
I'd like a way to programmatically generate PNGs inside typst from raw pixel values.
While this would technically already be possible using https://typst.app/docs/reference/visualize/image/#definitions-decode it would either 1) involve a plugin or 2) generating a PNG string in pure typst
Use Case
One good example of a place where this would be useful is for the heatmap feature in cetz
This has very poor performance, since it's literally drawing rectangles for each "pixel".
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
feature requestNew feature or requestNew feature or requestgood contributionSuitable for contribution, but unlike "good first issue", it may need prior experienceSuitable for contribution, but unlike "good first issue", it may need prior experiencescriptingAbout Typst's coding capabilitiesAbout Typst's coding capabilitiesvisualizeRelated to the visualize category, which is about drawing and illustratingRelated to the visualize category, which is about drawing and illustrating