Difference between revisions of "Gif Processor"

From Halfway
Jump to: navigation, search
(Created page with "==Overview== This is a little standalone tool that allows you to make png animation stripes from gif animations. The good thing here is that you can have gifs with all animati...")
 
Line 1: Line 1:
 
==Overview==
 
==Overview==
 
This is a little standalone tool that allows you to make png animation stripes from gif animations. The good thing here is that you can have gifs with all animations you want to have in one file and then export them to pngs and anim timing files including proper naming in one go.
 
This is a little standalone tool that allows you to make png animation stripes from gif animations. The good thing here is that you can have gifs with all animations you want to have in one file and then export them to pngs and anim timing files including proper naming in one go.
 +
 +
Please note, that this should only be used for objects with alot of animations. If you have a single animation stripe, just export it directly to a png and make the anim file by hand. (see below)
  
 
=== How to use it ===
 
=== How to use it ===
  
 +
#Setup the settings.txt as described below.
 +
#Run the application. This will open the "Open dialogue" from your OS
 +
#Navigate to the folder where your gifs are. (Be sure that they are all in the same dimension or the tool will crash)
 +
#All the png and .anim files are now generated and should be in the folder with your gifs.
 +
#Copy them over in the folders were they belong.
 +
 +
'''Note:''' You need to run the atlas builder before you can use the new assets.
  
 
====settings.txt====
 
====settings.txt====
 +
 +
The settings.txt needs to be placed in the main folder besides the executable of this tool.
 +
 +
'''Tip:''' I always have multiple copies of this file at hand so I just can copy over the settings.
 +
 +
=====How it looks=====
 +
 +
// Image size to extract
 +
32,32
 +
// Appended output names
 +
#Down
 +
#DownRight
 +
#Right
 +
#UpRight
 +
#Up
 +
 +
And here is a fitting gif file so you can see how it looks like:
 +
 +
  
  

Revision as of 09:45, 18 September 2014

Overview

This is a little standalone tool that allows you to make png animation stripes from gif animations. The good thing here is that you can have gifs with all animations you want to have in one file and then export them to pngs and anim timing files including proper naming in one go.

Please note, that this should only be used for objects with alot of animations. If you have a single animation stripe, just export it directly to a png and make the anim file by hand. (see below)

How to use it

  1. Setup the settings.txt as described below.
  2. Run the application. This will open the "Open dialogue" from your OS
  3. Navigate to the folder where your gifs are. (Be sure that they are all in the same dimension or the tool will crash)
  4. All the png and .anim files are now generated and should be in the folder with your gifs.
  5. Copy them over in the folders were they belong.

Note: You need to run the atlas builder before you can use the new assets.

settings.txt

The settings.txt needs to be placed in the main folder besides the executable of this tool.

Tip: I always have multiple copies of this file at hand so I just can copy over the settings.

How it looks
// Image size to extract
32,32
// Appended output names
#Down
#DownRight
#Right
#UpRight
#Up

And here is a fitting gif file so you can see how it looks like:



Anim files

How should a gif look like