mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-01 05:37:23 -06:00
A colorized grayscale or 1-bit image draws its white pixels transparent and is written to PDF with the image as a soft mask. Node::shows_transparency did not count it, so a PDF 1.3, PDF/X-1a or PDF/X-3 export whose only transparency was a colorized image was not flattened and kept the soft mask. A legacy .ai save also wrote such an image as opaque. - shows_transparency counts a visible image with a colorize paint. - The legacy .ai writer flattens or leaves out colorized images like other see-through images.