Welcome, Guest. Please
login
or
register
.
Forums
Forums
Board
Topic
Home
Today's Posts
Gallery
Login
Register
Amiga.org
»
Amiga computer related discussion
»
Amiga Software Issues and Discussion
»
Load and display iff ilbm with C?
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: Load and display iff ilbm with C? (Read 3349 times)
Description:
0 Members and 1 Guest are viewing this topic.
Marcb
Sr. Member
Join Date: Nov 2007
Posts: 407
Load and display iff ilbm with C?
«
on:
April 21, 2009, 01:33:09 PM »
Hi,
I've never learnt how to do this, does anyone know of a good tutorial that I can have a go at?
Cheers,
Marc
Logged
"...but some animals are more equal than others."
rzookol
Jr. Member
Join Date: Jul 2006
Posts: 77
Re: Load and display iff ilbm with C?
«
Reply #1 on:
April 21, 2009, 01:52:43 PM »
decode:
http://netghost.narod.ru/gff/vendspec/iff/iff.txt
or datatypes
Logged
AJCopland
Hero Member
Join Date: Jul 2006
Posts: 909
Country:
Thanked: 1 times
Gender:
Re: Load and display iff ilbm with C?
«
Reply #2 on:
April 21, 2009, 01:55:16 PM »
Almost any image loader tutorial should cover the basics for something like BMP or TGA. Then you just need to replace the parsing of the TGA file with something suitable for the iff/ilbm image formats.
You can probably find a description of the image formats somewhere
WotSits formats (i category)
.
You could also try taking a look at the source for decoding those formats used in programs like the Gimp or Asset Importer.
Andy
EDIT: or rzookol could post that awesome that tells you just about everything you'll need :lol:
Logged
Be Positive towards the Amiga community!
SamuraiCrow
Hero Member
Join Date: Feb 2002
Posts: 2281
Country:
Gender:
Re: Load and display iff ilbm with C?
«
Reply #3 on:
April 21, 2009, 03:58:38 PM »
If you don't need something cross-platform, I'd suggest using IFFParse.library in AmigaOS 2+ or datatypes.library in AmigaOS 3+.
Logged
jj
Lifetime Member
Hero Member
Join Date: Feb 2002
Posts: 4052
Country:
Thanked: 2 times
Gender:
Re: Load and display iff ilbm with C?
«
Reply #4 on:
April 21, 2009, 05:22:57 PM »
Reading up about this. This is now the way we are finnally going with XML
Logged
“We don't stop playing because we grow old; we grow old because we stop playing.” -
George Bernard Shaw
Xbox Live: S0ulA55a551n2
Registered MorphsOS 3.13 user on Powerbook G4 15"
Piru
\' union select name,pwd--
Hero Member
Join Date: Aug 2002
Posts: 6946
Re: Load and display iff ilbm with C?
«
Reply #5 on:
April 21, 2009, 06:26:27 PM »
Quote
IFFParse.library in AmigaOS 2+
iffparse.library doesn't know anything about ILBM though, so you still need to have the ILBM specific code around.
Logged
ChaosLord
Hero Member
Join Date: Nov 2003
Posts: 2608
Re: Load and display iff ilbm with C?
«
Reply #6 on:
April 21, 2009, 07:32:59 PM »
I use iff.library
It is fast and simple and it can load to interleaved or noninterleaved bitmaps.
Logged
Wanna try a wonderfull strategy game with lots of handdrawn anims,
Magic Spells and Monsters, Incredible playability and lastability,
English speech, etc.
Total Chaos AGA
Marcb
Sr. Member
Join Date: Nov 2007
Posts: 407
Re: Load and display iff ilbm with C?
«
Reply #7 on:
April 22, 2009, 12:19:13 PM »
Thank you all for your replies,
I've got the Rkms and I'm working my way through the IFF specs, I guess I was trying to take a shortcut :-D
Logged
"...but some animals are more equal than others."
Print
Pages: [
1
]
Go Up
« previous
next »
Amiga.org
»
Amiga computer related discussion
»
Amiga Software Issues and Discussion
»
Load and display iff ilbm with C?
There was an error while thanking
Thanking...