9
\$\begingroup\$

I was wondering how I can get my 110+ .png map tiles conveniently into a 1:1 pixel ratio size map .png. I've been scrolling through Google and forums for the free ware game that I am modding, but the app I'm using recognizes only .png files, and I want more than 1% of the map. If you guys know of a program I would be very appreciative.

\$\endgroup\$
2
5
\$\begingroup\$

Such as this (free license for bloggers and framework developers) or this (completely free but a bit less flexible)?

\$\endgroup\$
3
  • 3
    \$\begingroup\$ D:< I spend 2 whole days looking for something and you just whip it out minutes after I ask? Don't get me wrong I am very grateful, but wow! \$\endgroup\$
    – Tyler
    Dec 19 '11 at 4:48
  • 2
    \$\begingroup\$ The second will be more useful since I can edit the length and width with text. Thanks, you saved me time, sleep and headaches ;). \$\endgroup\$
    – Tyler
    Dec 19 '11 at 5:04
  • 2
    \$\begingroup\$ No problem, glad it helped :) Finding stuff online is usually easy as long as you know what to search for. In this case I knew immediately that I needed some sort of texture packer or spritesheet maker so... \$\endgroup\$ Dec 19 '11 at 6:05
6
\$\begingroup\$

ImageMagick with it's convert -append can also be used for this. Though, it only does appending into one direction, but if your tiles are named ascending (f.e. tile001.png) it can still be used in a loop:

convert tile00*.png +append line1.png
convert tile01*.png +append line2.png
convert line*.png -append wholeImage.png

As pointed out by bummzack, montage will work also good.

montage tile*.png -geometry +0+0 wholeImage.png
\$\endgroup\$
4
  • 4
    \$\begingroup\$ You could also use ImageMagicks montage command. As described here. \$\endgroup\$
    – bummzack
    Dec 19 '11 at 9:37
  • 1
    \$\begingroup\$ @bummzack: Thanks, I'm not sure how I missed that. As an informational note only, that site has a very poor rating, I'm not sure why. \$\endgroup\$
    – Bobby
    Dec 19 '11 at 9:41
  • 3
    \$\begingroup\$ never heard of that WOT reputation thing. The procedure outlined in the blog post works fine though. I have used it myself in multiple occasions. \$\endgroup\$
    – bummzack
    Dec 19 '11 at 9:43
  • \$\begingroup\$ +1 for using montage. I've used that many times to make sprites from individual frames. Very handy. \$\endgroup\$
    – notlesh
    Dec 19 '11 at 15:43

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.