comp.lang.ada
 help / color / mirror / Atom feed
From: Austin Obyrne <austin.obyrne@hotmail.com>
Subject: Question: re Image Files.
Date: Thu, 30 Aug 2012 15:33:34 -0700 (PDT)
Date: 2012-08-30T15:33:34-07:00	[thread overview]
Message-ID: <7bd3df18-178b-4735-ac43-c6bb6df9e999@googlegroups.com> (raw)

Question:

In Ada I can use the Ada Package “WITH Ada.Text_IO” to read in a character from ASCII and operate on it like so,

InChar      : Character;
InCharValue : Integer ;

Then,

Ada.Text_IO. Get (Item => Inchar);
InCharValue :=  Character ‘POS (Inchar);

I can then operate on InCharValue mathematically.

Question: Is there any way by which I can reading in from an image file and operate on the individual pixels in a similar arithmetical way.

If not how are image files handled in Ada is there any transformation process?.

Your help would be greatly appreciated.

 - adacrypt





             reply	other threads:[~2012-08-30 22:33 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-30 22:33 Austin Obyrne [this message]
2012-08-30 22:55 ` Question: re Image Files Adam Beneschan
2012-08-31  1:35 ` tmoran
2012-08-31  7:16 ` Dmitry A. Kazakov
2012-08-31  7:18 ` Mark Murray
2012-08-31  8:58   ` Austin Obyrne
2012-08-31  9:25     ` Ludovic Brenta
2012-08-31  9:41       ` Dmitry A. Kazakov
2012-08-31  9:14   ` Austin Obyrne
2012-08-31 17:09     ` Mark Murray
2012-08-31 17:36       ` Austin Obyrne
2012-08-31 22:09         ` Shark8
2012-09-04 10:05         ` Antti Louko
2012-08-31 21:12   ` gautier_niouzes
2012-09-01  6:58     ` Austin Obyrne
2012-09-03  6:02   ` Anatoly Chernyshev
2012-09-03  7:27     ` Mark Murray
2012-08-31  8:41 ` Brian Drummond
replies disabled

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