W3C home > Mailing lists > Public > www-amaya@w3.org > January to March 1998

Re: Loading/Dumping Bitmaps with Amaya1.1 on Windows NT

From: Ramzi GUETARI <Ramzi.Guetari@inria.fr>
Date: Mon, 12 Jan 1998 12:12:06 +0100
Message-Id: <199801121112.MAA16657@silhouette.inrialpes.fr>
To: www-amaya@w3.org
Cc: Ramzi.Guetari@inria.fr

Hi,

First of all, I can't answer questions about 
Amaya on Windows if these questions are not
sent to www-amaya mailing list.

> Hi ,
> 
> I have been browsing through Amaya code and LibthotEditor code. I am
> 
> not able to find the "Bitblk"/Bits manipulation functionality in Amaya
> 
> can anyone help.
> 
> 1. I am trying to create Window using amaya Thot libraries and am interested
> 
> in dumping Bitmap of current amaya window to a file or memory.
> 
> 2. Also will like to load any Bitmap file (e.g <fn>.bmp) file onto amaya.
> 
> We do have functions as "LoadImage" in libthot files.
> 
> Any suggestions/comments will be highly appreciated.
> 
> Thanks in Advance
> 
> Cheers !!!
> 
> Suhas

There is no function in ThotLib allowing to 
load ".bmp" files. However you you can add
such functionality. The onlything to do is
to identify the bmp file and to use the
Windows API to load and display bitmaps.

1. Get the bits of the bitmap from the ".bmp" file,
2. Use one of the functions in Windows API To create
   a bitmap (CreateBitmap, CreateCompatibleBitmap, etc.)
   See WIN_MakeImage function in gifhandler.c file.


Ramzi.
-- 
Ramzi GUETARI                          |  Tel: (33) 4 76 61 52 38
World Wide Web Consortium / INRIA      |  Fax: (33) 4 76 61 52 52
655 Avenue de l'Europe                 |  e-mail: Ramzi.Guetari@w3.org
38330 Montbonnot Saint Martin - France |  http://www.w3.org

             http://opera.inrialpes.fr/guetari/index.html
Received on Monday, 12 January 1998 06:06:19 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:53:18 UTC