mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-12-06 00:37:18 +01:00
+ added support for XPM, BMP, TGA
* Fix units names * Fix example program git-svn-id: trunk@5860 -
This commit is contained in:
parent
b5be98d22b
commit
cb9a639a21
@ -1,21 +1,21 @@
|
||||
|
||||
Important:
|
||||
|
||||
This example uses the JPEGForLazarus package (see in the directory above).
|
||||
This example uses the ImagesForLazarus package (see in the directory above).
|
||||
You must first open once the package jpegforlazarus.lpk in the IDE, so that
|
||||
the IDE knows, where to find the lpk file.
|
||||
|
||||
|
||||
To use jpeg in your own applications:
|
||||
|
||||
- Add JPEGForLazarus to the dependencies of your project.
|
||||
- Add ImagesForLazarus to the dependencies of your project.
|
||||
|
||||
Project Menu -> Project Inspector -> Add -> New Requirement -> Package Name:
|
||||
JPEGForLazarus
|
||||
ImagesForLazarus
|
||||
Click OK.
|
||||
|
||||
- Add "lazjpeg" to the uses section of any unit, where jpeg is needed.
|
||||
Add this unit at least once, so that jpeg is registered and
|
||||
- Add "Laz$(Image_File_Format_Extension)" to the uses section of any unit,
|
||||
where jpeg is needed. Add this unit at least once, so that jpeg is registered and
|
||||
Open/SavePictureDialogs and TPicture can open jpeg.
|
||||
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user