Exporting images from Animal animations

With this small extension, you can export any part of a given Animal animation as a (set of) image(s)! To do so, follow these simple steps:

  1. Download the archive imageExport.zip attached to this blog entry to the path where you installed Animal.
  2. Unzip the file. This should generate a new file in the subdirectory animal/exchange/ImageSequenceExporter.class
  3. Download the archive JimiProClasses.zip attached to this blog entry.
  4. Copy the (uncompressed) ZIP file into your CLASSPATH.
  5. Update your Animal JAR file using the following command: jar -uvf Animal-x.y.z.jar animal

    Note: you will have to update the version number given for the JAR file according to the version of Animal you are running.
    This will add the unzipped directory with the class file to your JAR file.

  6. Use any editor to edit the configuration file "exporters.dat" that should be stored in the same place as your Animal installation. If you cannot find the file, extract it from the JAR as follows: jar -xvf Animal-x.y.z.jar exporters.dat
    Please add the following lines to the file (or skip some of them):

    image/apf animal.exchange.ImageSequenceExporter
    image/bmp animal.exchange.ImageSequenceExporter
    image/cur animal.exchange.ImageSequenceExporter
    image/ico animal.exchange.ImageSequenceExporter
    image/jpg animal.exchange.ImageSequenceExporter
    image/pcx animal.exchange.ImageSequenceExporter
    image/pict animal.exchange.ImageSequenceExporter
    image/png animal.exchange.ImageSequenceExporter
    image/psd animal.exchange.ImageSequenceExporter
    image/ras animal.exchange.ImageSequenceExporter
    image/tga animal.exchange.ImageSequenceExporter
    image/xbm animal.exchange.ImageSequenceExporter
    image/xpm animal.exchange.ImageSequenceExporter

    If you want the additions to be permanent, update the exporters.dat file in your JAR: jar -uvf Animal-x.y.z.jar exporters.dat

  7. Re-run Animal. If you choose Save As...or Export, you should now be able to select the image formats.
AttachmentSize
imageExport.zip1.58 KB
JimiProClasses.zip444.81 KB