Amiga.org

Operating System Specific Discussions => Amiga OS => Amiga OS -- Development => Topic started by: ChaosLord on March 17, 2006, 04:01:33 AM

Title: Where is gif.library?
Post by: ChaosLord on March 17, 2006, 04:01:33 AM
Where is gif.library?

I need an easy way to load .gif images into my own software.

It is very easy to open iff.library and load iff images but I cannot find any library that allows me to load .gifs! :-?

There are tons of gif utils on Aminet.  So people must be loading gifs into their Amiga software somehow....

Does anyone know of an easy library I can use?

Or do you have easy source code to LoadGif() in my proggy?

Title: Re: Where is gif.library?
Post by: SamuraiCrow on March 17, 2006, 04:13:05 AM
I think most of the programs that load GIF images use gif.datatype which is included in AmigaOS 3.5 and newer.

BTW, IFF.library was replaced by IFFParse.library in Kickstart 2.04 .
Title: Re: Where is gif.library?
Post by: ChaosLord on March 17, 2006, 04:21:58 AM
I would like my software to run on OS 3.1 and up if that is ok.
Title: Re: Where is gif.library?
Post by: SamuraiCrow on March 17, 2006, 04:27:48 AM
akGIF.datatype (http://uk.aminet.net/pub/aminet/util/dtype/akGIF-dt.lha) on the Aminet will do the trick on 3.1 .

-edit- akGIF will not work on 3.0 .
Title: Re: Where is gif.library?
Post by: ChaosLord on March 17, 2006, 04:57:26 AM
ok so how do I write some lines of c code to load
a .gif or .png image thru picture.datatype?

Is there a tutorial somewhere?

I have never used a datatype in my whole entire life.

The thing is that I have a zillion megs of .iff textures.
I could reduce that to only half a zillion megs if I switched over to .gif or .png or any other format that compresses better than .iff.

I love using iff.library.  Its soooooo easy and does all sorts of handy things for me without my even asking. :-)
But .iff just doesn't compress very well. :-(
Title: Re: Where is gif.library?
Post by: Thomas on March 17, 2006, 08:14:29 AM
Quote

ChaosLord wrote:
ok so how do I write some lines of c code to load
a .gif or .png image thru picture.datatype?


http://utilitybase.com/forum/index.php?action=vthread&forum=2&topic=525

Bye,
Thomas