Mail Archives: djgpp/1998/01/18/22:19:19
Shawn Hargreaves wrote:
>
> Nils van den Heuvel writes:
> >Can i put a .jpg file in an allegro datafile and load it with
> >load_jpeg()???? (I've got a library that works with allegro that does
> >this)... Because when i did this it couldn't load the .jpg file...
>
> If the JPEG library uses the Allegro PACKFILE routines, you can use a
> name of the form "datafilename.dat#objectname" to read directly from it.
> But I suspect it will be using the normal C library file functions, in
> which case it cannot read from a datafile object.
>
> --
> Shawn Hargreaves - shawn AT talula DOT demon DOT co DOT uk - http://www.talula.demon.co.uk/
> "Pigs use it for a tambourine" - Frank Zappa
well,
it can read the datafiles... I just used a wrong way for opening the
datafile..
Thank you for your help
Nils
- Raw text -