comp.lang.ada
 help / color / mirror / Atom feed
From: Aurele <aurele.vitali@gmail.com>
Subject: Re: zLibAda vs ZipAda (which should I use, if any)?
Date: Sat, 27 Aug 2016 12:33:43 -0700 (PDT)
Date: 2016-08-27T12:33:43-07:00	[thread overview]
Message-ID: <7de40538-fc28-4bc5-8a80-c76b39d417f7@googlegroups.com> (raw)
In-Reply-To: <5d516246-3a7c-4be5-abef-c34fb0f5c753@googlegroups.com>

Thanks, was just looking at your To_Bmp demo and also noticed you had txt file (which I should have seen/read first).  So the steps are fairly straight forward....

1) Load the image header from stream
2) Prepare the retrieval of the image ?
3) Load/decode the image itself

Sounds easy. Thanks!

I have not check/looked yest but is the Zip-Ada "UnZip.Streams.Zipped_File_Type" type a subtype of "Ada.Streams.Stream_IO.File_Type" ? 

In otherwords, if I have:

 UnZip.Streams.Open( File         => FileType,
                     Archive_Info => ZipFileInfo,
                     Name         => ASU.To_String( Info_Ptr.Data_Ptr( 31 ).FullName ) );

can I user 

Ada.Streams.Stream_IO.Stream_Access( UnZip.Streams.Stream( FileType ) )

When in calling GID.Load_image_header( .....) ?



  parent reply	other threads:[~2016-08-27 19:33 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-08-25 20:17 zLibAda vs ZipAda (which should I use, if any)? Aurele
2016-08-25 21:02 ` Qun-Ying
2016-08-25 21:33 ` Jeffrey R. Carter
2016-08-25 22:07 ` Aurele
2016-08-25 23:07 ` Aurele
2016-08-25 23:43   ` gautier_niouzes
2016-08-25 23:55     ` Aurele
2016-08-26  0:18       ` gautier_niouzes
2016-08-26  1:44         ` Aurele
2016-08-26 12:36           ` gautier_niouzes
2016-08-26 14:23             ` Aurele
2016-08-26 15:16               ` gautier_niouzes
2016-08-26 15:46                 ` Jeffrey R. Carter
2016-08-26 16:05                 ` Aurele
2016-08-26 23:04                   ` Aurele
2016-08-27  5:30                     ` gautier_niouzes
2016-08-27 11:52                       ` Aurele
2016-08-27 16:31                         ` Aurele
2016-08-27 19:15                           ` gautier_niouzes
2016-08-27 19:33 ` Aurele [this message]
2016-08-27 20:16   ` Aurele
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox