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.9 required=5.0 tests=BAYES_00 autolearn=ham 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.107.167 with SMTP id hd7mr1053054wib.0.1346980966435; Thu, 06 Sep 2012 18:22:46 -0700 (PDT) MIME-Version: 1.0 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!weretis.net!feeder4.news.weretis.net!news.mixmin.net!aioe.org!.POSTED!not-for-mail From: tmoran@acm.org Newsgroups: comp.lang.ada Subject: Question: re Image Files. Date: Fri, 31 Aug 2012 01:35:29 +0000 (UTC) Organization: Aioe.org NNTP Server Message-ID: References: <7bd3df18-178b-4735-ac43-c6bb6df9e999@googlegroups.com> NNTP-Posting-Host: Tr4YF43EK2s0RuphVpEIMQ.user.speranza.aioe.org X-Complaints-To: abuse@aioe.org X-Notice: Filtered by postfilter v. 0.8.2 X-Newsreader: Tom's custom newsreader Date: 2012-08-31T01:35:29+00:00 List-Id: >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. There are lots of different formats of image files. Claw has packages for Windows' internal, and external (bmp), formats. You get an array with 8 1 bit pixels/byte if it's a monochrome image up to 4 bytes/pixel if it has 2**24 color bits and an alpha channel (like a Javascript HTML5 canvas image). There are lots of other packages available to read/write jpg, tga, etc file formats. It's a whole wide world - what do you want to do?