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: 103376,53e2e69b113227ec X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news3.google.com!proxad.net!213.200.89.82.MISMATCH!tiscali!newsfeed1.ip.tiscali.net!news.tiscali.de!newsfeed.freenet.de!newsfeed01.chello.at!newsfeed.arcor.de!newsspool4.arcor-online.net!news.arcor.de.POSTED!not-for-mail From: "Dmitry A. Kazakov" Subject: Re: Imaging in Ada Newsgroups: comp.lang.ada User-Agent: 40tude_Dialog/2.0.15.1 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Reply-To: mailbox@dmitry-kazakov.de Organization: cbb software GmbH References: <1178486961.979327.11940@w5g2000hsg.googlegroups.com> Date: Mon, 7 May 2007 11:56:42 +0200 Message-ID: <15w0x5i5ika2q$.1p7nj2uo08p1.dlg@40tude.net> NNTP-Posting-Date: 07 May 2007 11:56:42 CEST NNTP-Posting-Host: 5b7a88b4.newsspool1.arcor-online.net X-Trace: DXC=3E=gicXHX]^5TOT9_N5i\BH3YRkgRA`PMf1DPlYQ X-Complaints-To: usenet-abuse@arcor.de Xref: g2news1.google.com comp.lang.ada:15614 Date: 2007-05-07T11:56:42+02:00 List-Id: On 6 May 2007 14:29:22 -0700, ezkcdude wrote: > What capabilities, in terms of libraries/packages/modules, does Ada > have for doing basic image processing. For example, let's say you > wanted to load a jpg or tif image and display it on the screen, how > would you go about that task (no pun intended, seriously) in Ada? In GtkAda that would be Gtk_Image (or Gdk_Pixbuf for a lower level handling): procedure Gtk_New (Image : out Gtk_Image; Filename : String); which internally uses libjpeg, I guess. http://www.adacore.com/wp-content/files/auto_update/gtkada-docs/gtkada_rm/gtkada_rm/gtk-image.html http://www.adacore.com/wp-content/files/auto_update/gtkada-docs/gtkada_rm/gtkada_rm/gdk-pixbuf.html -- Regards, Dmitry A. Kazakov http://www.dmitry-kazakov.de