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=-0.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,96b1bf0c24ced968 X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.180.105.2 with SMTP id gi2mr1061948wib.4.1346980966249; Thu, 06 Sep 2012 18:22:46 -0700 (PDT) Path: q11ni5513255wiw.1!nntp.google.com!feeder3.cambriumusenet.nl!feed.tweaknews.nl!85.12.40.130.MISMATCH!xlned.com!feeder1.xlned.com!border2.nntp.ams.giganews.com!border3.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!newsreader4.netcologne.de!news.netcologne.de!feeder.erje.net!news2.arglkargh.de!news.mixmin.net!aioe.org!.POSTED!not-for-mail From: "Dmitry A. Kazakov" Newsgroups: comp.lang.ada Subject: Re: Question: re Image Files. Date: Fri, 31 Aug 2012 09:16:49 +0200 Organization: cbb software GmbH Message-ID: <1c26rqtscsn69.gcjribovsooq.dlg@40tude.net> References: <7bd3df18-178b-4735-ac43-c6bb6df9e999@googlegroups.com> Reply-To: mailbox@dmitry-kazakov.de NNTP-Posting-Host: FbOMkhMtVLVmu7IwBnt1tw.user.speranza.aioe.org Mime-Version: 1.0 X-Complaints-To: abuse@aioe.org User-Agent: 40tude_Dialog/2.0.15.1 X-Notice: Filtered by postfilter v. 0.8.2 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Date: 2012-08-31T09:16:49+02:00 List-Id: On Thu, 30 Aug 2012 15:33:34 -0700 (PDT), in comp.lang.ada you wrote: > 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?. The issue of presentation already answered. As for arithmetical ways that depends on the color model assuming that pixel represents a color space point. There are various models L*a*b, RGB, HLS, HSV, IHLS. Mathematical operations over color space points, e.g. "darken", "+", "average," are implemented within these models slightly or very differently. P.S. Ada has bindings to major graphical frameworks (Qt, GTK, Win32 GDI). -- Regards, Dmitry A. Kazakov http://www.dmitry-kazakov.de