Updated Xmingw32 Libraries

I’ve updated my cross-compile libraries:
SDL_image 1.0.4, SDL_net 1.0.1, SDL_ttf 1.0.1.

They were a bit out of date and used the old name conventions.

http://www.slothmud.org/~hayward/Xmingw32/

As noted in a previous letter, libpng and libz Xmingw32 distributions now
have the necessary development libs within them. (lib*.a).

Some problems I was having with these libraries that I’d love to have help
figuring out:

  • I can’t load PNG’s on Win NT 4 and Win 2K, but they work on Win95/98.
    It gives an application error somewhere between libz.dll and
    libpng.dll. Other image formats on this platform seem to work fine (only
    tested png and bmp).

  • SDLimage-1.0.2 seemed a bit picky, it had problems with ImageMagick
    modified bmp’s, but opening them in photoshop and resaving them fixed it!
    I haven’t tried SDL_image-1.0.4 to see if this was solved. Anyone know if
    this was the case? Only SDL_image had a problem with those particular
    bitmaps, all other programs could read them fine.–
    Brian

hayward at slothmud.org wrote:

  • SDLimage-1.0.2 seemed a bit picky, it had problems with ImageMagick
    modified bmp’s, but opening them in photoshop and resaving them fixed it!
    I haven’t tried SDL_image-1.0.4 to see if this was solved. Anyone know if
    this was the case? Only SDL_image had a problem with those particular
    bitmaps, all other programs could read them fine.

I think that what you have here is a case of compressed BMP’s.
ImageMagick is one of the few programs that can write RLE-compressed
BMP’s (nearly all are open source, I believe). Windoze paintbrush can’t
even read them. See if the Paintbrush can read the ImageMagick BMP’s.
Photoshop can read them, but always saves a BMP uncompressed. Strange
that the people at M$ included a system for compressing their BMP’s but
never wrote a program that implemented it!–

| Rafael R. Sevilla @Rafael_R_Sevilla |
| Instrumentation, Robotics, and Control Laboratory |

College of Engineering, University of the Philippines, Diliman

The windows paintbrush was able to read them.–
Brian

On Sat, 11 Mar 2000, Dido Sevilla wrote:

@hayward_at_slothmud wrote:

  • SDLimage-1.0.2 seemed a bit picky, it had problems with ImageMagick
    modified bmp’s, but opening them in photoshop and resaving them fixed it!
    I haven’t tried SDL_image-1.0.4 to see if this was solved. Anyone know if
    this was the case? Only SDL_image had a problem with those particular
    bitmaps, all other programs could read them fine.

I think that what you have here is a case of compressed BMP’s.
ImageMagick is one of the few programs that can write RLE-compressed
BMP’s (nearly all are open source, I believe). Windoze paintbrush can’t
even read them. See if the Paintbrush can read the ImageMagick BMP’s.
Photoshop can read them, but always saves a BMP uncompressed. Strange
that the people at M$ included a system for compressing their BMP’s but
never wrote a program that implemented it!

| Rafael R. Sevilla dido at pacific.net.ph |
| Instrumentation, Robotics, and Control Laboratory |

College of Engineering, University of the Philippines, Diliman

For anyone using ImageMagick to convert images to BMP, you can control
whether it RLE compresses the images by specifying “-compression none” from
the command line utilities. The default is to use RLE compression.> -----Original Message-----

From: Dido Sevilla [SMTP:dido at pacific.net.ph]
Sent: Friday, March 10, 2000 6:51 PM
To: sdl at lokigames.com
Subject: Re: [SDL] Updated Xmingw32 Libraries…

hayward at slothmud.org wrote:

  • SDLimage-1.0.2 seemed a bit picky, it had problems with ImageMagick
    modified bmp’s, but opening them in photoshop and resaving them fixed
    it!
    I haven’t tried SDL_image-1.0.4 to see if this was solved. Anyone know
    if
    this was the case? Only SDL_image had a problem with those particular
    bitmaps, all other programs could read them fine.

I think that what you have here is a case of compressed BMP’s.
ImageMagick is one of the few programs that can write RLE-compressed
BMP’s (nearly all are open source, I believe). Windoze paintbrush can’t
even read them. See if the Paintbrush can read the ImageMagick BMP’s.
Photoshop can read them, but always saves a BMP uncompressed. Strange
that the people at M$ included a system for compressing their BMP’s but
never wrote a program that implemented it!

| Rafael R. Sevilla dido at pacific.net.ph |
| Instrumentation, Robotics, and Control Laboratory |

College of Engineering, University of the Philippines, Diliman