[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference hydra::amiga_v1

Title:AMIGA NOTES
Notice:Join us in the *NEW* conference - HYDRA::AMIGA_V2
Moderator:HYDRA::MOORE
Created:Sat Apr 26 1986
Last Modified:Wed Feb 05 1992
Last Successful Update:Fri Jun 06 1997
Number of topics:5378
Total number of notes:38326

3070.0. "Executable IFF files?" by AYOV28::ATHOMSON (C'mon, git aff! /The Kelty Clippie) Fri Nov 03 1989 13:33

    I've been asked if I know of a program that will take an IFF file
    and turn it into an executable (don't ask me why - it's not for
    me).
    
    In other words given an iff file "pic.iff", my friend wants to run a
    program against it like "1> IIFTOOBJ PIC.IFF PIC.EXE" which will give
    him a new file PIC.EXE which when run from a CLI will display the
    picture, (all in a single runnable file not a show program and a
    separate iff file). Apparently (he says) you can do something like this
    with music files using SoundTrakker where the music data and the
    executable are all in the same file; type the name and the music
    plays..........
    
    Does anyone know of any utility that will do this ?  I don't.
    
    					Alan T.
    
T.RTitleUserPersonal
Name
DateLines
3070.1LEDS::ACCIARDIFri Nov 03 1989 17:037
    
    Ayuh, there absolutely is such a program.  I'll try to find it on PLINK
    or Genie this weekend.
    
    Watch this space.
    
    Ed.
3070.2WJG::GUINEAUFri Nov 03 1989 22:2151
There's one right here on our very own net...


WJG::AMIGA:ILBM2IMAGE.ZOO.

Here's the docs:

                           ILBM2image
	I have included three programs here that I hope you find useful.
They are tools that I developed for a rainforest bird identification key 
program that is used in the Information Centre at Binna Burra in Lamington
National Park.
       I was faced with converting sixty IFF pictures to C source code 
       modules to be called when the user had identified the appropriate 
       bird. The pictures also needed to be updated when needed. I 
       therefore developed ILBM2image and ILBM2func that would produce a 
       module that could be compiled as a separate module to be linked  
       with the main program.
	You supply the name of an IFF image that is in the same directory
(picture or brush  ) and the programs will produce a text file
with ".c" appended to the original name. This text file is ready to 
compile.
	ILBM2func assumes that you have a window called Window and uses the
Intuition function DrawImage() to draw it. All you have to do is call
 
     parrotsimagefunc();
  I have include a program I wrote called GetCMap also which makes a text 
  file of the colour map of an IFF picture file.
        The programs will also work for HAM pictures and rectangular
  brushes.
        ILBM2func and ILBM2image can be used in batch files if a large
 number of similar files need to be made and compiled at the same time.
 eg.
  ilbm2func parrots
  lc parrots
  delete parrots.c
  ilbm2func ....
  ....etc.

	Ronda Green did the icons(example and programs) and bird pictures. 
   
I  am putting these programs  into the public domain.

  
Denis S. Green
 Greensoft
Running Creek Road
via RathDowney
Queensland
Australia 4287
 ph. (075) 441283