comp.lang.ada
 help / color / mirror / Atom feed
From: "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de>
Subject: Re: Representing image data
Date: Wed, 11 Mar 2009 10:00:27 +0100
Date: 2009-03-11T10:00:27+01:00	[thread overview]
Message-ID: <mqcdxdpc5g2k.zjthbnqs6qxv.dlg@40tude.net> (raw)
In-Reply-To: 9WAtl.2301$gm6.1634@nwrddc02.gnilink.net

On Tue, 10 Mar 2009 21:26:29 GMT, 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.
> 
> I'm looking for suggestions on what the Ada interface to the
> library should look like--and in particular how the image contents
> should be provided to the application using the library.  The current
> design has a C interface with no type checking on the image data.

What sort of applications have you in mind? Digital filtration? Pattern
recognition? Scene analysis? Rendering? 3D simulation? ... Depending on the
application image representation format may vary.

In any case there should be no "malloc" stuff as in your example.

-- 
Regards,
Dmitry A. Kazakov
http://www.dmitry-kazakov.de



  parent reply	other threads:[~2009-03-11  9:00 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-10 21:26 Representing image data Kenneth Almquist
2009-03-11  1:16 ` Gautier
2009-03-11  2:43   ` Srini -
2009-03-11 21:12   ` Kenneth Almquist
2009-03-11 22:39     ` tmoran
2009-03-12  2:38   ` Randy Brukardt
2009-03-11  9:00 ` Dmitry A. Kazakov [this message]
2009-03-11 15:45   ` Brian Drummond
2009-03-11 20:12     ` sjw
2009-03-13 11:31       ` Brian Drummond
2009-03-13 20:31 ` Kenneth Almquist
replies disabled

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