Author Topic: The way AGI Stores Images...??  (Read 4305 times)

0 Members and 1 Guest are viewing this topic.

Perica Senjak

  • Guest
The way AGI Stores Images...??
« on: February 18, 2003, 12:28:26 AM »
Hey,

I read somewhere that AGI uses some sort of Compression to Store it's images (Surposedly called "Vector" ??), therefore they used only a small amount of memory.

I was just wondering, how does this format work?? How does it store the images?? How does the Compression work??

Cya.
« Last Edit: February 18, 2003, 12:31:46 AM by Perica Senjak »



Offline Patrick

Re:The way AGI Stores Images...??
« Reply #1 on: February 18, 2003, 05:56:45 AM »
yes and do they have a recognized filenmame extention? I was JUST asking this at Eric's board ...but i havent gotten a response yet  :-\...


Offline Eero R

Re:The way AGI Stores Images...??
« Reply #2 on: February 18, 2003, 08:52:25 AM »
Vector means that instead of every pixel saved in memory, there are only instructions how did maker of the room made it. Like in some programming languages: Circle (1,1,10,10). (Of course it isn't written with words.)
It saves room, because: for example we would want to make line from coordinates 0,0 to coordinates 20,20. In raster graphics you should store 200 bytes (every pixel with colors), but when making it in vector we only should use 6 bytes.
And AGI pictures do not have an single extension, when they are in AGI game, then they are in resource file(s) with picdir to show where they are. When they are extracted, they are usually named like picture.001 and so on.
Persona grata ego sum...

Offline Joel

Re:The way AGI Stores Images...??
« Reply #3 on: February 18, 2003, 06:18:05 PM »
you can get a full description of the format of AGI pictures by looking at the unofficial AGI Specs, go to www.agispecs.com and then go to the Articles section. You'll find the Unofficial AGI Specs in the "Technical" section.

Offline Joel

Re:The way AGI Stores Images...??
« Reply #4 on: February 18, 2003, 06:20:06 PM »
Sorry, not agispecs.com, that should be www.agidev.com

Offline Nick Sonneveld

Re:The way AGI Stores Images...??
« Reply #5 on: February 18, 2003, 11:03:51 PM »
darn.. I thought www.agispecs.com would be a rather interesting site.

Incidently.. I'm currently working on updating the specs.  must talk to Chris about it.

- Nick
Nick Sonneveld  |  AGI Dev  |  NAGI

Offline Patrick

Re:The way AGI Stores Images...??
« Reply #6 on: February 19, 2003, 03:26:17 PM »
Ok...but is there a way to open them with an extention is my question!


Offline Chris Cromer

Re:The way AGI Stores Images...??
« Reply #7 on: February 19, 2003, 06:36:26 PM »
Extensions don't mean didily squat, images are in a format. Even if you renamed someimage.gif to someimage.jpg it would still be in gif format even though it has the extension .jpg.

You would either have to make an AGI graphic conversion to .gif/.jpg/.png/etc.
Chris Cromer

It's all fun and games until someone get's hurt then it's just fun. ;)

Offline Nick Sonneveld

Re:The way AGI Stores Images...??
« Reply #8 on: February 19, 2003, 09:08:49 PM »
Chris... you're going about it the wrong way.

Ok...but is there a way to open them with an extention is my question!

No, there is currently NO way.

- Nick
Nick Sonneveld  |  AGI Dev  |  NAGI

Offline Mokalus of Borg

Re:The way AGI Stores Images...??
« Reply #9 on: March 05, 2003, 06:58:47 AM »
But there could be. We already have code to read and display AGI backgrounds, so all we need to do is:
1. Create a cut-down version of, say, NAGI that just opens and displays one picture.
2. Agree on a standard file extension for the pictures. Perhaps .avp for AGI Vector Picture, or .abg for AGI Background.
3. Associate the viewing program with the file extension.

Mokalus of Borg

PS - Easy as pie.
PPS - But not especially useful.

Offline Patrick

Re:The way AGI Stores Images...??
« Reply #10 on: March 05, 2003, 03:03:54 PM »
can YOU do that?  :D that would be so awesome!


Kon-Tiki

  • Guest
Re:The way AGI Stores Images...??
« Reply #11 on: March 05, 2003, 04:29:07 PM »
PPS - But not especially useful.
I completely agree. Can't think of one use for it, so Patrick, it's a waste of time making it. The time put in that could be better spent on making other, more usefull tools.

-Kon-Tiki-

Offline Patrick

Re:The way AGI Stores Images...??
« Reply #12 on: March 05, 2003, 07:58:47 PM »
I can...GOOD OLD ADVENTURES  :P

it takes time to extract those characters....


Offline Eero R

Re:The way AGI Stores Images...??
« Reply #13 on: March 06, 2003, 09:13:25 AM »
Yeah, I made a character for GOA ready in three minutes without Character Calculator, thanks to new developer kit, what isn't released yet. ;D
Persona grata ego sum...

Offline Patrick

Re:The way AGI Stores Images...??
« Reply #14 on: March 09, 2003, 03:34:16 PM »
yes but do you know who gave martin the idea for teh new dev kit? this dude talking to you right now! thx to my idea...but i am kinda sad that my calc is obsolete now.......



SMF 2.0.19 | SMF © 2021, Simple Machines
Simple Audio Video Embedder

Page created in 0.048 seconds with 20 queries.