Closed cartazio closed 9 years ago
i may have a go at this task if you'd be open to it
What is diagrams-raster?
i mean https://github.com/diagrams/diagrams-rasterific its a diagrams backend that uses rasterific, and thence juicy-pixels to emit a png/jpeg/gif etc.
i may just try doing the migration speculatively, the motivation being that for high complexity visuals, a raster image tends to have MUCH better space complexity than a vector format
Only reason I was just using SVG is that the gtk libraries are often a pain to install on OSX so I wanted to avoid that. What's the situation with rasterific on that?
Could we make it conditional? This is an executable after all, should be okay?
rasterific has no system deps, pure haskell al the way. from vector raster rendering to generating the final file https://hackage.haskell.org/package/Rasterific
sure, making it conditional would be ok by me,
If it's pure haskell, go for it :)
Closing this as it's not strictly speaking an issue. If you ever get round to implementing this, feel free to open a pull request :)
sounds good
even aside from the rendering issue i'm having with svg, having a 10mb-100mb svg is a bit nasty!