Looking for bitmap merger

Discussion in 'Game Development (Technical)' started by Danimal, Sep 14, 2007.

  1. Danimal

    Indie Author

    Joined:
    Apr 8, 2006
    Messages:
    101
    Likes Received:
    0
    Anyone know a simple program to take a bunch of separate sprite and combine them into one image?
     
  2. Dan MacDonald

    Moderator Original Member Indie Author

    Joined:
    Jul 26, 2004
    Messages:
    1,424
    Likes Received:
    0
  3. Danimal

    Indie Author

    Joined:
    Apr 8, 2006
    Messages:
    101
    Likes Received:
    0
    Thanks, I'll check it out.
     
  4. Pallav Nawani

    Indie Author

    Joined:
    Aug 13, 2004
    Messages:
    371
    Likes Received:
    0
  5. barrygamer

    Original Member

    Joined:
    Apr 10, 2006
    Messages:
    490
    Likes Received:
    0
    I'm using GIMP's 'montage' command. Don't know if it has as many options as those other apps, but its working well for me, and is of-course scriptable.
     
  6. Bernard François

    Bernard François New Member

    Joined:
    Aug 21, 2006
    Messages:
    38
    Likes Received:
    0
    I wrote something that can put a bunch of images in as few as possible larger images (this is called 'bin packing'). It's a part of the CasualSkin project on sourceforge (a 2D engine for casual games, which had no official release yet).

    The bin packing program is a stand-alone console application. It takes an xml file as input. The format of the xml file is described in the user guide (p13 and further).

    The source code can be found here:
    http://casualskin.svn.sourceforge.net/viewvc/casualskin/trunk/CasualSkin/BinPacker/
    You will have to compile it yourself. It depends on TinyXml, libjpeg, libpng and zlib. It has been tested under windows, but it will probably also work for most other operating systems.

    To obtain the user guide, you can download the latest latex source and compile it. It can be found here:
    http://casualskin.svn.sourceforge.net/viewvc/casualskin/trunk/UserGuide/

    There's also a precompiled version of the user guide, which can be found here:
    http://www.evonet.be/~bfran/thesis/CasualSkinUserGuide.pdf

    If there are any questions related to using, compiling or modifying this software, feel free to post in the forum of the project on sourceforge:
    https://sourceforge.net/forum/?group_id=191566
     

Share This Page

  • About Indie Gamer

    When the original Dexterity Forums closed in 2004, Indie Gamer was born and a diverse community has grown out of a passion for creating great games. Here you will find over 10 years of in-depth discussion on game design, the business of game development, and marketing/sales. Indie Gamer also provides a friendly place to meet up with other Developers, Artists, Composers and Writers.
  • Buy us a beer!

    Indie Gamer is delicately held together by a single poor bastard who thankfully gets help from various community volunteers. If you frequent this site or have found value in something you've learned here, help keep the site running by donating a few dollars (for beer of course)!

    Sure, I'll Buy You a Beer