CMD.Batch.Join many PNG to one TIFF (SpriteSheet for Unity3D)

For creating the sheet we will use ImageMagick’s montage.

Batch Code:

set ImageMagickRoot=”c:\Program Files\ImageMagick-7.0.2-Q16\magick.exe”
set ScreenshotFolder=”C:\Users\me_hungry\Documents\Unity3d\testWater\ScreenshotFolder”
%ImageMagickRoot% montage %ScreenshotFolder%\*.png -mode concatenate -tile 5×5 -background transparent %ScreenshotFolder%\sprite_sheet.tiff

Thanks to TwinFox

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s