How to fix a custom image that isn't loading - displaying a dummy sprite

Description: Outdated discussions about Moondust Project (formerly PGE) and related stuff

Wohlstand M
Topic author, Lead Developer
Lead Developer
Avatar
Wohlstand M
Topic author, Lead Developer
Lead Developer
Age: 30
Reputation: 493
Posts: 1747
Joined: 15 Feb 2014
English Pronouns: he/him
Location: Moscow, Russia
Website Youtube channel URL Skype Tencent QQ

Post #1by Wohlstand » 13 Jun 2014, 15:40

You will see this error if an image is not saved in a valid format:
Image

(For PGE Editor before 0.1-Alpha)
To fix this you need to convert the image's format from BMP to GIF.
The easiest way to do this is to use ImageMagick:
You need to open the command line in the directory with the broken images, and try this command:

Code: Select all

mogrify -format gif *.gif


Image

After the program has done it's work, the images should load correctly:
Image

Return to “Moondust Project”