OS4 DepotLogo by Alkaron 
(anonymous IP: 18.117.154.229,2258) 
 HomeRecentStatsSearchSubmitUploadsMirrorsContactInfoDisclaimerConfigAdmin
 Menu

 Features
   Crashlogs
   Bug tracker
   Locale browser
 

 Categories

   o Audio (343)
   o Datatype (51)
   o Demo (203)
   o Development (602)
   o Document (24)
   o Driver (97)
   o Emulation (149)
   o Game (1011)
   o Graphics (500)
   o Library (118)
   o Network (234)
   o Office (66)
   o Utility (932)
   o Video (69)

Total files: 4399

Full index file
Recent index file

 Links

  Amigans.net
  OpenAmiga
  Aminet
  IntuitionBase


Support the site


 Readme for:  Datatype » Anim » gifanimdt.lha

GifAnim Datatype

Description: Datatype for animated GIFs
Download: gifanimdt.lha       (TIPS: Use the right click menu if your browser takes you back here all the time)
Size: 164kb
Version: 54.0
Date: 22 Sep 2023
Author: Mike Steed
Submitter: Mike Steed
Email: 72207 463/compuserve com
Requirements: AmigaOS >= 4.1 FE
Category: datatype/anim
License: LGPL
Distribute: yes
Min OS Version: 4.1
FileID: 12673
 
Comments: 0
Snapshots: 0
Videos: 0
Downloads: 112  (Current version)
112  (Accumulated)
Votes: 2 (0/0)  (30 days/7 days)

Show comments Show snapshots Show videos Show content Show crashlogs Replace file 
Introduction
============

The GifAnim v. 54 datatype is a subclass of (a helper for) the standard Amiga
OS4 animation datatype, which adds the ability to read and write animated GIF
files. When used with a program like MultiView or MultiViewer, it allows
animated GIFs to be played and optionally saved. When used with a program like
DTConvert (version 1.2 or newer), it allows other animation formats such as ANIM
and CDXL to be converted to GIF animations. And like any datatype it allows
objects, in this case GIF animations, to be embedded into a program, giving any
program the ability to display GIF animations with little effort by the
programmer.

The GifAnim v. 54 datatype was inspired by the 68K GifAnim datatype v. 2.5
written by Roland Mainz, which was ported to OS4 by Fredrik Wikstrom. But while
it was inspired by Roland Mainz' work -- which served as an invaluable reference
as to how to write an animation datatype, something that is not well documented
otherwise -- it was written from scratch, and does not use any of Roland's code.
Along the way, it fixed many problems with the older datatype.

The v. 54 datatype replaces the GIF file reading and writing code of the v. 2.5
datatype with that of GIFLIB, a widely used and well-debugged open-source GIF
file handling library. This maximizes the datatype's ability to handle all the
varieties of GIFs in the wild, and eliminates some of the crashiness of the
older datatype. The v. 54 datatype also fixes a number of bugs in the
compositing of the frames of a GIF file into a playable animation, which caused
the older datatype to play many GIF animations incorrectly. Finally, by
targeting only OS 4.1 FE (graphics.library v. 54) it disposes of all of the
ancient-compatibility kludges of the older datatype, including the need for
Cybergraphics when displaying truecolor animations.

Features
========

o Loads animated GIF files (those with two or more frames), which are then
   played by the animation datatype; single-frame GIFs are still handled by
   the regular OS4 GIF datatype

o Fixes many bugs in the v. 2.5 GifAnim datatype, eliminating crashes and
   allowing animations to play correctly

o LOOP option overrides the REPEAT setting of MultiView/MultiViewer,
   allowing GIF animations to loop without causing all other file types
   (such as sounds) to loop as well

o TRUECOLOR option converts GIF animations (which are always colormapped)
   into truecolor format for display; some GIF animations require this in
   order to display correctly

o Can save GIF animations to a new file, with optional optimization to
   reduce the size of the file

o When used with a utility like DTConvert, can convert any other
   (compatible) type of animation into a GIF animation

o Includes an installer that can also set the datatype's preferences

One feature of the v. 2.5 datatype that the v. 54 datatype does not support is
the ability to attach a sound file to a GIF animation. GIF files do not allow
for sound, so adding the ability to play sound was non-standard. The v. 54
datatype sticks to the GIF standard by not supporting sound.

Requirements
============

As the version number suggests, the GifAnim v. 54 datatype requires Amiga OS 4.1
FE (version 54) or newer. That's mainly because it makes use of version 54 of
graphics.library, which moves truecolor graphics support into the library,
eliminating the need for Cybergraphics and P96.

Source Code
===========

The GifAnim v. 54 datatype is open source; the source code is included.


Copyright © 2004-2024 by Björn Hagström All Rights Reserved