shfty-elysian / elysian-legacy

Field function compiler
0 stars 0 forks source link

Generalize image / pixel format #61

Closed Shfty closed 1 year ago

Shfty commented 1 year ago

Need the ability to output arbitrary formats from the image backend.

Shfty commented 1 year ago

Done: Rasterize now takes a pixel format and Struct -> Vec<P::Subpixel> conversion function.