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.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,8cd2e51827049f30 X-Google-Attributes: gid103376,public From: tmoran@bix.com Subject: Re: Ada and graphics Date: 1996/08/03 Message-ID: <4tumik$gkp@news2.delphi.com>#1/1 X-Deja-AN: 171692978 organization: Delphi Internet Services Corporation newsgroups: comp.lang.ada Date: 1996-08-03T00:00:00+00:00 List-Id: >that will allow me to write to a file the code for images such a .jpg's The flip answer is that Ada is a general purpose programming language so of course you can write any set of bits you want to a file. If you look on Compuserve, IBMPRO section, VESA library, for TGA_VESA.ZIP, (I'm going from memory here) you'll find source code for a program that reads Targa 16 .tga files and displays them on PCs that have VESA drivers (ie, all modern PC graphics cards). As I recall, the source code includes Targa writing, as well as reading. Your message said "such as .jpg's ...". If you are specifically asking, say, "will someone please give me source code in Ada to write a JPEG file from a Windows Device Independent Bitmap in memory", there I can't help, but perhaps someone else can.