From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,6d07d0186a356c56 X-Google-Attributes: gid103376,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Date: Wed, 11 Mar 2009 02:16:48 +0100 From: Gautier User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.8.1.18) Gecko/20081031 SeaMonkey/1.1.13 MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Representing image data References: <9WAtl.2301$gm6.1634@nwrddc02.gnilink.net> In-Reply-To: <9WAtl.2301$gm6.1634@nwrddc02.gnilink.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 83.78.99.149 X-Original-NNTP-Posting-Host: 83.78.99.149 Message-ID: <49b71100$1_6@news.bluewin.ch> X-Trace: news.bluewin.ch 1236734208 83.78.99.149 (11 Mar 2009 02:16:48 +0100) Organization: Bluewin AG Complaints-To: abuse@bluewin.ch X-Original-NNTP-Posting-Host: 127.0.0.1 Path: g2news2.google.com!news1.google.com!npeer03.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!cyclone1.gnilink.net!gnilink.net!wns11feed!worldnet.att.net!164.128.36.58!news.ip-plus.net!newsfeed.ip-plus.net!news.bluewin.ch!not-for-mail Xref: g2news2.google.com comp.lang.ada:4997 Date: 2009-03-11T02:16:48+01:00 List-Id: Kenneth Almquist wrote: > I've been working on the design of an image decoding library. The > basic idea is that the library will examine the first few bytes of > an image, determine the format, and call the appropriate decoder, > so that an application using the library can read images without > writing code for each image format it wants to handle. How common are the formats' encodings ? JPEG, PNG, BMP, GIF, TGA, PPM... ? Compressed ? With/without loss ? Not compressed ? There are various libraries, full Ada (at least for BMP, GIF, TGA & PPM) or bindings, which support these usual formats. Could be a good starting point, and you also could use them for the "back-end" jobs. HTH _________________________________________________________ Gautier's Ada programming -- http://sf.net/users/gdemont/ NB: For a direct answer, e-mail address on the Web site!