Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Tile Merger - Tiles a series of images into a single file  (Read 12522 times)

Markavian

  • Bay Watcher
  • DF Map Archive Admin
    • View Profile
    • DF Map Archive
Tile Merger - Tiles a series of images into a single file
« on: August 02, 2008, 07:43:50 pm »

Hi DF people,
I wrote this tool to help me merge a folder full of images into a single tileset.

http://mkv25.net/showcase/TileMerger_rel_b1.zip

It reads all types of image files support by .NET but it only writes to PNG. The intention is that some sort of post-processing in your favourite image editor is required. It supports alpha channels and sorts the filenames before writing them out to the file. It has a column count setting to set the number of tiles per row, and it remembers the settings in the registry.

Requires .NET 2.0 to run. Please try it out and send me feedback, especially crash reports.



Am currently using it to turn a series of isometric tiles into a single merged image, for example:


It will attempt, but likely fail, to merge all types of files. Only valid image files will be merged. Tested it on a folder full of text files, and on lots of images. The largest image will set the size of the tiling, so beware, if you have a big image in a directory it could take some time to generate the output file.

Version history:
Release b1
  o Added filter text box
  o Added a tooltips to number of columns and filter boxes
  o Asks for file target if Not set
  o Added process label to display number of files processed
  o Fixed series of crashing bugs
  o Filters out non-image files when processed

Release a1
 Initial release
 Supports
  o Source folder
  o Target file
  o Number of columns
  o Remember settings

Best regards,
- Markavian
« Last Edit: August 04, 2008, 06:26:11 pm by Markavian »
Logged

Nathiuz

  • Bay Watcher
    • View Profile
Re: Image Merger
« Reply #1 on: August 02, 2008, 10:43:38 pm »

Those tiles look amazing.  :o
Logged

Markavian

  • Bay Watcher
  • DF Map Archive Admin
    • View Profile
    • DF Map Archive
Re: Image Merger
« Reply #2 on: August 03, 2008, 04:47:25 am »

No, Chris Hildenbrandt's DF isometric tiles (from http://spriteattack.cator.de/) look amazing ... mine are just temporary ; )
Logged

Sean Mirrsen

  • Bay Watcher
  • Bearer of the Psionic Flame
    • View Profile
Re: Image Merger
« Reply #3 on: August 03, 2008, 12:17:53 pm »

It does what? Does it take the images and overlay them, or does it take them and tile them?
Spoiler (click to show/hide)
Logged
Multiworld Madness Archive:
Game One, Discontinued at World 3.
Game Two, Discontinued at World 1.

"Europe has to grow out of the mindset that Europe's problems are the world's problems, but the world's problems are not Europe's problems."
- Subrahmanyam Jaishankar, Minister of External Affairs, India

Markavian

  • Bay Watcher
  • DF Map Archive Admin
    • View Profile
    • DF Map Archive
Re: Image Merger
« Reply #4 on: August 03, 2008, 02:42:45 pm »

Sean, it takes a folder full of images and tiles them into a single image. I've considered renaming it for the next release.
Logged

Markavian

  • Bay Watcher
  • DF Map Archive Admin
    • View Profile
    • DF Map Archive
Re: Tile Merger - Tiles a series of images into a single file
« Reply #5 on: August 04, 2008, 06:26:51 pm »

Bump because of update, incase anyone is still interested.

Sample merged file:
  http://mkv25.net/showcase/strawberrypanic_tilemap.png
Logged