comp.lang.ada
 help / color / mirror / Atom feed
From: "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de>
Subject: Re: Imaging in Ada
Date: Mon, 7 May 2007 11:56:42 +0200
Date: 2007-05-07T11:56:42+02:00	[thread overview]
Message-ID: <15w0x5i5ika2q$.1p7nj2uo08p1.dlg@40tude.net> (raw)
In-Reply-To: 1178486961.979327.11940@w5g2000hsg.googlegroups.com

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



  reply	other threads:[~2007-05-07  9:56 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-06 21:29 Imaging in Ada ezkcdude
2007-05-07  9:56 ` Dmitry A. Kazakov [this message]
2007-05-07 11:30 ` Jacob Sparre Andersen
2007-05-09 20:59 ` Chip Orange
replies disabled

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