Don't save sprites in BMP format as GIF extension!

Description: Outdated discussions about PGE Project and related stuff

Wohlstand M
Topic author, Lead Developer
Lead Developer
Avatar
Wohlstand M
Topic author, Lead Developer
Lead Developer
Age: 25
Reputation: 320
Posts: 1297
Joined: 15 Feb 2014
Location: Moscow, Russia
Website Skype YouTube

Post #1by Wohlstand » 26 Apr 2014, 19:27

- In SMBX written via VisualBasic bmp loading by default,
- In new engine, what can read all image formats: JPG, PNG, BMP, GIF, TIFF, it is important.

If a image file is broken, you will see these yellow crossed blocks:
Image

How to fix broken images:
- You must install ImageMagick in your system:
ImageMagick page: http://www.imagemagick.org/
Windows binaries: http://www.imagemagick.org/script/binary-releases.php#windows
Warning, Don't forget to include it into PATH value!

1) Open level sprite folder in command line/terminal
2) enter this command:

Code: Select all

mogrify -format gif *.gif

it starts converting all non-gif files into GIF format.
Image

After running this command, we see: the sprites are successfully loaded:
Image

Return to “PGE Project”

Who is online (over the past 5 minutes)

Users browsing this forum: 1 guest