Created
December 12, 2023 00:57
-
-
Save dacap/bc0fbb9e434b4fc48fa0a32844bccd7b to your computer and use it in GitHub Desktop.
Open as RGB
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
local oldSprite = app.sprite | |
app.command.OpenFile() | |
if oldSprite ~= app.sprite then | |
app.command.ChangePixelFormat{ format="rgb" } | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment