Search found 5 matches
- 2013-11-15T21:34:16-07:00
- Forum: Users
- Topic: Adding Duplication Padding to Tile Sheet [Resolved]
- Replies: 2
- Views: 1831
Re: Adding Duplication Padding to Tile Sheet
Thank you fmw42, Distort was exactly what I needed. Here's the final script: convert filledSpaceInput.png ^ -crop 32x0 +repage ^ -define distort:viewport=34x64-1-0 ^ -filter point ^ -distort SRT 0 +repage +append ^ -crop 0x32 +repage ^ -define distort:viewport=68x34-0-1 ^ -distort SRT 0 +repage ...
- 2013-11-15T19:25:01-07:00
- Forum: Users
- Topic: Adding Duplication Padding to Tile Sheet [Resolved]
- Replies: 2
- Views: 1831
Adding Duplication Padding to Tile Sheet [Resolved]
Hey Guys, I need to take something like this (though it might have more tiles in either direction): http://www.hernblog.com/filledSpaceInput.png And pad where the tiles touch with a duplicate pixels in the row or column that touches: http://www.hernblog.com/filledSpaceOutput.png Zoomed In Versions ...
- 2013-11-15T18:47:41-07:00
- Forum: Users
- Topic: Add padding to tile sheet. [Resolved]
- Replies: 4
- Views: 4686
Re: Add padding to tile sheet.
I also stumbled upon this http://www.imagemagick.org/Usage/transf ... cing_tiles which may be an easier way of doing it.
- 2013-11-14T18:23:41-07:00
- Forum: Users
- Topic: Add padding to tile sheet. [Resolved]
- Replies: 4
- Views: 4686
Re: Add padding to tile sheet.
Thanks so much snibgo. I settled on the following script which, unlike my example, requires the input to have a transparent background. convert ^ floorTiles.png ^ -bordercolor None -border 1 -trim +repage ^ -crop 128x128 +repage ^ -border 1 ^ +append ^ -crop 780x130 +repage ^ -append ^ -trim +repage ...
- 2013-11-14T04:14:21-07:00
- Forum: Users
- Topic: Add padding to tile sheet. [Resolved]
- Replies: 4
- Views: 4686
Add padding to tile sheet. [Resolved]
Hey Guys, I am new to ImageMagick and I am trying to take an image which is a grid of tiles and insert a 2 pixel transparent space between each tile. Input example: http://www.hernblog.com/floorTiles.png Output example: http://www.hernblog.com/desiredFloorTiles.png (Extra space around the border ...