Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

png: enable to write transparent image with :background #630

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

k-okada
Copy link
Member

@k-okada k-okada commented Mar 28, 2023

you can write png image with transparent background by

(send *irtviewer* :change-background #f(1 0 0))
(send *irtviewer* :draw-objects)
(send *irtviewer* :save-image "test.png" :background #f(1 0 0))

see https://gist.github.com/k-okada/d702a5a63fcf24d8be03de680f8a5e76 for example

test
test-bone
test-hid

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant