-
Can Photoshop CS5 remove padding from a tileset/tilesheet?
I'm a game designer, and I work with a lot of tiles extracted from existing tilesets I find on the web. I used to crop and save each desired tile one at a time until I discovered that I could split the sheet into slices and save them all at once, saving tons of time.
I ran into a problem, though. Some tilesets are padded, meaning that there is space between each tile on the tileset image. Is there a way for photoshop to either remove the padding and "collapse" the tiles together into an unpadded tileset, or can I somehow configure the slices to accommodate for the padding?
-
-
Re: Can Photoshop CS5 remove padding from a tileset/tilesheet?
-
-
Re: Can Photoshop CS5 remove padding from a tileset/tilesheet?

Originally Posted by
RdG
could you post an image?
I almost did, and then I thought "Nah, they'll know what I'm talking about."
Okay, take a look at this tileset:
As you can see, there are a few pixels of space between each tile. This is padding. Because of this, I can't simply slice the image and export. The padding would have to be removed first because it offsets each tile from the grid in photoshop.
-
-
Re: Can Photoshop CS5 remove padding from a tileset/tilesheet?
I hope I understand,
first you use a slice tool, then in the save for web panell choose the slice you want to save. At the end there is a opsion you can save just a slice selected or all slice.
Use a alt key to choose multiple slices.
I hope I helped you.
Last edited by RdG; 01-20-2012 at 05:18 PM.
-
-
Re: Can Photoshop CS5 remove padding from a tileset/tilesheet?
Thanks, but that doesn't solve the problem. I don't want to have to slice each tile one by one. Please understand that some tilesets have hundreds of tiles on them.
What I do is I make the whole image into one slice and then right-click and choose "Divide Slice..." to divide it so that each tile is its own slice. The problem though is that since there is padding between each tile on the image itself, the slices don't line up with the tiles.
-
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
Powered by
vBulletin® Version 4.1.9
Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.
Content Relevant URLs by
vBSEO 3.6.0
Copyright 2011 Photoshop Gurus Forum. All rights reserved.