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

Merged
merged 2 commits into from
Dec 16, 2024

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

@k-okada k-okada closed this Mar 29, 2023
@k-okada k-okada reopened this Mar 29, 2023
@k-okada k-okada force-pushed the png_transparent branch 2 times, most recently from 363b868 to e924eec Compare December 15, 2024 11:53
@k-okada k-okada merged commit 9a8fbc2 into euslisp:master Dec 16, 2024
20 checks passed
@k-okada k-okada deleted the png_transparent branch December 16, 2024 00:38
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