-
Notifications
You must be signed in to change notification settings - Fork 233
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
Alpha Channels #16
Comments
Hi! Thanks! Definitely some of the can include processing an alpha channel with some code change. Any specific script? |
I would love to be able to use the png glitch script with images that contain an alpha channel :) but I don't want the whole image to have a 90% opacity for example, I am looking for an option that basically retains the original alpha channel areas if that makes sense. |
I haven't verified it yet but you can try to replace this line: https://github.com/tsulej/GenerateMe/blob/master/pngglitch/pngglitch.pde#L107 with
It should retain (not affected by glitches) alpha channel. |
I replaced it, but it still saves with a black opaque background. |
Ah, I see. Remove the line which sets black background, here: GenerateMe/pngglitch/pngglitch.pde Line 63 in 29d60da
(Currently I have no access to pc to verify this). |
Fantastic it works!! Although it does produce some noise around the alpha area in some places, Is there a way to get rid of that? |
Good! Regarding noise, all glitches are on the codec side, so I don't know what to do to get rid of them. |
All good, if I decrease the file size it gets rid of the noise. Thank you so much for your help!! |
I would love to be able to use the png glitch script with images that
contain an alpha channel :) but I don't want the whole image to have a 90%
opacity for example, I am looking for an option that basically retains the
original alpha channel areas if that makes sense.
…On Tue, Aug 23, 2022 at 4:47 AM genmeblog ***@***.***> wrote:
Hi! Thanks! Definitely some of the can include processing an alpha channel
with some code change. Any specific script?
—
Reply to this email directly, view it on GitHub
<#16 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ATRUJIBNMUELMXXSOAUGOZ3V2SFZHANCNFSM57CR4HFA>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Hello,
I was wondering if any of the scripts can include images with alpha channels? Amazing scripts!
The text was updated successfully, but these errors were encountered: