mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-14 14:41:52 +00:00
A freeform gradient's image was sampled, encoded and written inline at every fill, outside the reuse placed images have. Fields now go through the same codes and placements: a fill whose encoded image (color setup, image dictionary, filter, operator and samples) matches one already kept draws from it, so its samples are written once in the setup as VCim<i>. A field drawn once is still written where it is drawn. A fill whose placement can't be drawn, or that arrives when the page is already at the 256 MB limit, is no longer sampled first, and a field image taken back with art that passed the limit is forgotten.