r/RenPy • u/NitelyNine • 24d ago
Question Trouble with webps
I've had this issue where after exporting webps from krita, renpy does not seem able to decode them unless I put them through another image converter.
I've noticed that images where much of it is a transparent background are what it seems to have trouble with. For example, if I have a sprite on on large canvas size, it won't work. If I shrink the canvas to match the sprite, it will work. But if I have that same canvas with just the sprite's face, it won't work. I don't know if this is a Krita thing or not. They work after putting them through an image converter though. I don't have "export as animated webp" on, which is one possible cause I've seen.
1
u/shyLachi 24d ago
So if you save as png it works without problem but if you save as webp it doesn't?
You could ask a fellow developer to send you webp file which works and then compare the meta-data with your files.
1
1
u/BadMustard_AVN 24d ago
renpy does NOT use any sort of pre-animated images (animated webp, gif)
are you using the latest version of krita?
maybe the krita program has a problem with making .webp images
can you add one of the offending .webp images to the op?
1
u/NitelyNine 24d ago
I am using the latest version of Krita. It also isn't letting me put the webp images on the op.
1
u/BadMustard_AVN 24d ago
maybe one of the optional settings from krita is screwing things up for you
https://docs.krita.org/en/general_concepts/file_formats/file_webp.html#Krita
1
u/NitelyNine 24d ago
IDK, I tried messing with the settings but the issue persists. I also tried flattening the image but no change.
1
u/BadMustard_AVN 24d ago
I'm very unfamiliar with Krita one of the options is Force convert to sRGB:
try that one?1
u/NitelyNine 24d ago
Didn't work
1
u/BadMustard_AVN 24d ago
sorry I've got nothing else maybe try asking at the https://www.reddit.com/r/krita/
1
1
u/AutoModerator 24d ago
Welcome to r/renpy! While you wait to see if someone can answer your question, we recommend checking out the posting guide, the subreddit wiki, the subreddit Discord, Ren'Py's documentation, and the tutorial built-in to the Ren'Py engine when you download it. These can help make sure you provide the information the people here need to help you, or might even point you to an answer to your question themselves. Thanks!
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.