Skip to content

Conversation

@linev
Copy link
Member

@linev linev commented Nov 14, 2025

Up to now TASImage was only stored in PS file.

SVG does not have pixmap primitive, but able to embed PNG/JPEG images using base64 coding.
So implement painting of images in SVG using <image> element.
Position and scaling applied using transfrom property of element.

Fix small problem with using of white color in storing TASImage in PS/SVG

Disable image storage in compact mode - while it used for testing and PNG vary on different platforms.

Update reference image

It allows to write whole image as PNG into output
So one can embed PNG image as base64 coding
One converts image to PNG and then paint it as base64
@linev linev added the clean build Ask CI to do non-incremental build on PR label Nov 14, 2025
@linev linev closed this Nov 14, 2025
@linev linev reopened this Nov 14, 2025
@github-actions
Copy link

github-actions bot commented Nov 14, 2025

Test Results

    22 files      22 suites   3d 23h 47m 40s ⏱️
 3 777 tests  3 773 ✅   0 💤 4 ❌
81 132 runs  81 014 ✅ 114 💤 4 ❌

For more details on these failures, see this check.

Results for commit 06ec30e.

♻️ This comment has been updated with latest results.

This is special mode for testing so skip images completely
It has now placeholder for images
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

affects:master clean build Ask CI to do non-incremental build on PR in:Graphics

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants