35 lines
1.2 KiB
Plaintext
35 lines
1.2 KiB
Plaintext
What's in here
|
|
---------------
|
|
The package ColImage contains encoders and decoders for the JPEG, GIF,
|
|
and PNG formats that are compatible with VCL/C++Builder.
|
|
|
|
How To Use It
|
|
--------------
|
|
1. Load the Project Group Image
|
|
2. Build The LibImage Project
|
|
3. Build the ColImage Project
|
|
4. Copy ColImage.BPI, ColImage.BPL, ColImage.LIB to the appropriate
|
|
directories. The standard location are the C++Builder /LIB directory
|
|
for the .BPI and .LIB files and the /BIN directory for the .BPL file.
|
|
5. Select COMPONENT|INSTALL|ADD and add ColImage.BPL
|
|
|
|
At this point you should be able to use JPEG, GIF, and PNG files in
|
|
design mode. Try creating a project and add an image control to it.
|
|
If you double click on the Picture property in the object inspector
|
|
you should be able to load these new image formats.
|
|
|
|
To use these format in a project add the statement
|
|
|
|
LoadPackage ("COLIMAGE.BPL") ;
|
|
|
|
to your project's source module. Otherwise you may get errors messages
|
|
about undefined file formats.
|
|
|
|
|
|
*****A WORD OF CAUTION *****
|
|
----------------------------
|
|
When you build ColImage.BPI you cannot use the dynamic RTL. You must ensure
|
|
that the Project|Options|Linker|Use debug libraries is not checked.
|
|
|
|
|