We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
dmi_strip_metadata leads to removing alpha channel from the icon Here is the code I used:
dmi_strip_metadata
/world fps = 25 icon_size = 32 view = 6 /mob/Login() var/icon/test = icon('twitcher.dmi', "preview") fcopy(test, "temp.png") client << browse_rsc(icon("temp.png"), "first.png") call("rust_g", "dmi_strip_metadata")("temp.png") сlient << browse_rsc(icon("temp.png"), "second.png")
twitcher.dmi: https://cdn.discordapp.com/attachments/693217263934898190/1111983453760651324/twitcher.dmi
twitcher.dmi
Code result: first.png: second.png:
first.png
second.png
The text was updated successfully, but these errors were encountered:
Yeah, not copying tRNS chunk from the original.
if let Some(trns_chunk) = reader_info.trns.to_owned(){ encoder.set_trns(trns_chunk); }
Simple fix, under palette copy.
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
dmi_strip_metadata
leads to removing alpha channel from the iconHere is the code I used:
twitcher.dmi
: https://cdn.discordapp.com/attachments/693217263934898190/1111983453760651324/twitcher.dmiCode result:
first.png
:second.png
:The text was updated successfully, but these errors were encountered: