Watch, Follow, &
Connect with Us

For forums, blogs and more please visit our
Developer Tools Community.

ID: 21097, UniBitmapClass for Delphi.NET

by Endre Simay Email: Anonymous

An implementation of TUniBitmap Component for using encoded BMPs and binary resources of them.
Download Details
FTP  download also available
CDN Login Required to Download. (You will be redirected to the login page if you click on the Download Link)
To download this, you must have registered:
A free membership

For Delphi, Version 10.0  to 10.0 59 downloads
Copyright: No significant restrictions

Size: 209,421 bytes
Updated on Mon, 07 Nov 2005 09:17:07 GMT
Originally uploaded on Mon, 17 Nov 2003 00:19:26 GMT
SHA1 Hash: 1A9E4EFCE78A7B98139082968528EB6B4C65A7D9

    Explore the files in this upload

A class named TUniBitmap was developed for world of Win32 to use LZRW/KH-encoded bitmaps from resources. As well as the algorithmic part of this compressing method was ported to the .NET, the UniBitmap also became portable to the new environment. Especially for compatibility issues, which mean moreless back-compatibility. This backward compatibility could serve compatibility for pictures stored earlier in this encoded format.
The images could be opened and decoded with this Class, while the usage is slightly different from the component made for Win32 earlier. So, the LoadFrom... methods are serving Streams instead of a Bitmap. This should be easy handling and is not in conflict with FrameWork's restrictions.
You see a LoadFromResources method among of loading ones, which is use a streamed resource saved as TBytes (System.Byte[]) and also serves a decoded stream.
On other hand, the images saved with this source of Class could be used for the old Win32 component, too. Including the Body_compressed image, which could serve a Bitmap-like headers (e.g. for using format-identifiers). The Class could read and write uncoded bitmaps (BMP), and File_Compressed one, too. The later is equivalent of a compressing made with native LZRW/KH-compressor (see LZRW1/KH De/Compressor).
The source probably need some optimization later, while it was tested as I can for functionality. The old Win32-component is under porting for new VCL-world and hosted as free component at Torry (
Files of bitwiseclass.pas and LZRW1_EIS.pas also needed for working.

   Latest Comments  View All Add New

Move mouse over comment to see the full text

Could not retrieve comments. Please try again later.

Server Response from: ETNACDC04