PDA

View Full Version : Python and Pygame - Bitmaps



mhaggard25
October 16th, 2013, 06:19 PM
Hey everyone, I just had a general (and somewhat unspecific) question about a problem I'm running into. I have 2 computers that I use regularly. One runs Ubuntu 13.04 and the other is Linux Mint 12 or 13. (I can't remember right off hand and I'm on my Ubuntu machine now.) Either way, on the computer that runs Linux Mint, when I try to load a "bitmap" that is a '.png' file it loads just fine with no errors, but on the Ubuntu machine, if I try the same thing, I get the error "pygame.error: File is not a Windows BMP file"

I don't mind converting the files, but I was just wondering if anybody knew the answer to that question or if you could point me in some direction as to how to find it.

Thanks in advance!

spjackson
October 16th, 2013, 10:26 PM
Do the suggestions here (http://stackoverflow.com/questions/16577114/pygame-error-file-is-not-a-windows-bmp-file) help?

mhaggard25
October 17th, 2013, 09:09 PM
That def gives me an idea, and I actually googled the problem and saw that page yesterday.I didn't read too much into it thought when I saw the version number of Python as I'm using Python 3.2. (My bad, I forgot to mention that earlier). thanks for your help though.