posit-dev / posit-dev/hephaestus
Rasterisation of layers in vector output
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 20
- Forks
- 1
- Avg merge
- 9h 18m
- Merged PRs (30d)
- 4
Description
When saving a scatter plot as SVG or PDF output, every point is described and thus file size increases with every point.
In cases of severe overplotting or large datasets, it might be more space efficient to rasterise such layers and include the rasterised image in the output.
I don't think this should happen automatically, but might be an interesting opt-in for layers.
Aside from that, rasterisation is also a basis for various raster effects like blurs, drop shadows, glows, distortions and whatnot. The latter use case is perhaps a bit more frivolous, but applies to raster output as well.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the rendering and SVG/PDF output entry points for scatter layers. Define the scope of an opt-in layer-level rasterisation feature and identify how rasterized content could be represented in both formats without changing default output. The issue names no files or tests, so those must be located first.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- computer-graphics
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Active
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100