From: Andre <avsaway@hotmail.com>
Subject: Re: A generic image decoder - specification design
Date: Sun, 02 May 2010 11:19:52 +0200
Date: 2010-05-02T11:19:52+02:00 [thread overview]
Message-ID: <8f304$4bdd43b6$541ed605$26008@cache6.tilbu1.nb.home.nl> (raw)
In-Reply-To: <6d7d1892-e8a1-444d-8ff2-3ee12e281f42@l32g2000yqm.googlegroups.com>
Gautier,
The first question which comes up in mind is: where do you want to use
it for?
Is it an initial step for your Ada based browser?
The 2nd question is more basic, are you write the load image functions
in Ada or use bindings to existing libraries (like the JPEG one)?
Basically all pixel based images are a block of memory. The one which
are 8 bit based use normally a Palette (like GIF and 8-bit BMP). The
full color versions (JPEG, 24-bit BMP) use 3 or 4 byte per pixel (4th
one is in general the alpha channel) in a memory map. So that can easily
be modeled.
If it is for a browser, you can forget about the 1-, 2- and 4-bit images.
So how will be your real image data be modeled?
Do you plan to just use a 24-bit with alpha channel format and convert
lower grade images (like GIF) into this format?
Or do you want to represent the different image types also in you data
model?
just some feedback,
Andr�
On 5/1/2010 22:30, Gautier write-only wrote:
> Here is already a tiny update:
>
> http://gen-img-dec.svn.sf.net/viewvc/gen-img-dec/gid.ads?view=markup&pathrev=2
>
> I've discovered the possibility of an Inline pragma to a procedure
> listed in a generic formal part. At least GNAT and ObjectAda don't
> protest on that, so probably it makes some sense...
>
> G.
next prev parent reply other threads:[~2010-05-02 9:19 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-05-01 17:03 A generic image decoder - specification design Gautier write-only
2010-05-01 20:30 ` Gautier write-only
2010-05-02 9:19 ` Andre [this message]
2010-05-02 10:48 ` RasikaSrinivasan@gmail.com
2010-05-02 15:09 ` Gautier write-only
2010-05-02 15:21 ` Dmitry A. Kazakov
2010-05-02 19:21 ` Gautier write-only
2010-05-02 11:45 ` brian
2010-05-02 15:15 ` Gautier write-only
2010-05-02 19:24 ` Gautier write-only
2010-05-02 22:07 ` Brian Drummond
2010-05-02 23:01 ` tmoran
2010-05-03 12:18 ` Gautier write-only
2010-05-05 21:07 ` A generic image decoder - first preview! Gautier write-only
2010-05-24 20:51 ` A generic image decoder - specification design Stephen Sangwine
2010-05-24 21:42 ` Gautier write-only
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox