From: Thilo Köhler To: blitz-list@netsoc.ucd.ie Date: Sat, 26 Jan 2002 15:30:21 +0100 Subject: 24bit images/gtshapes in blitz (image.include) Hi all! It is done. Here is the include file if you want to use 24bit (or whatever you want) images in your Blitz programs. You can also convert them into a blitz shape and use it with GTShape. It uses datatypes for loading images, so you can have any fileformat which has a datatype installed. (e.g. iff, jpg, gif, pcx, bmp) Drawbacks: No real transparency is povided, because the shapes are remapped and it is very unlikely that your shapes backgroundcolor will be mapped to color 0 which is turned into transparency with "makecookie". Maybe someone has an idea how to do this. It uses guigfx (and render) library. So if you want to use it you have to remake your deflibs with the guigfx.library1 included, or create your own with the .fd file from the guigfx archive (Aminet). (beware of libclashes !!!) The include has to be regarded as alpha version, so maybe there are some bugs or room for improvement, any suggestions are welcome. Have fun, Thilo P.S. And don't forget to set the right pathes for the include files, and you should turn them into .bb2 format before.