Results 1 to 3 of 3

Thread: Python and Pygame - Bitmaps

  1. #1
    Join Date
    Aug 2013
    Location
    Alabama
    Beans
    12
    Distro
    Ubuntu

    Python and Pygame - Bitmaps

    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!

  2. #2
    Join Date
    Aug 2010
    Location
    Lancs, United Kingdom
    Beans
    1,588
    Distro
    Ubuntu Mate 16.04 Xenial Xerus

    Re: Python and Pygame - Bitmaps

    Do the suggestions here help?

  3. #3
    Join Date
    Aug 2013
    Location
    Alabama
    Beans
    12
    Distro
    Ubuntu

    Re: Python and Pygame - Bitmaps

    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.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •