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.0 required=5.0 tests=BAYES_00,FORGED_HOTMAIL_RCVD2, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,96b1bf0c24ced968,start X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,CP1252 Received: by 10.224.186.143 with SMTP id cs15mr4301519qab.3.1346366014660; Thu, 30 Aug 2012 15:33:34 -0700 (PDT) Received: by 10.52.180.202 with SMTP id dq10mr1273575vdc.17.1346366014596; Thu, 30 Aug 2012 15:33:34 -0700 (PDT) Path: da15ni5444qab.0!nntp.google.com!r1no18054qas.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Thu, 30 Aug 2012 15:33:34 -0700 (PDT) Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=109.149.3.155; posting-account=pmkN8QoAAAAtIhXRUfydb0SCISnwaeyg NNTP-Posting-Host: 109.149.3.155 User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <7bd3df18-178b-4735-ac43-c6bb6df9e999@googlegroups.com> Subject: Question: re Image Files. From: Austin Obyrne Injection-Date: Thu, 30 Aug 2012 22:33:34 +0000 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Date: 2012-08-30T15:33:34-07:00 List-Id: Question: In Ada I can use the Ada Package =93WITH Ada.Text_IO=94 to read in a charac= ter from ASCII and operate on it like so, InChar : Character; InCharValue : Integer ; Then, Ada.Text_IO. Get (Item =3D> Inchar); InCharValue :=3D Character =91POS (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 proce= ss?. Your help would be greatly appreciated. - adacrypt