Debian Codegraph @

examples/images_videos/image_display/README.md

raw symbols SCIP
1 # Test Image Loading and Displaying
2
3 Display images in various formats using _Castle Game Engine_ `TCastleImageControl`
4 (simplest way to display an image as 2D UI element).
5 Also has a "speed test" functionality.
6
7 The purpose of this demo:
8
9 - Test that we can load all the required image formats.
10 - Check speed of loading.
11 - On all platforms (desktop, mobile), with all compilers (FPC, Delphi).
12 - Tweak CGE `castleconf.inc` to test various underlying libraries -- e.g. compare speed/features of FpImage, Vampyre Imaging, LIbPng.
13
14 ![Screenshot](screenshot.png)
15
16 Using [Castle Game Engine](https://castle-engine.io/).
17
18 ## Building
19
20 Compile by:
21
22 - [CGE editor](https://castle-engine.io/editor). Just use menu items _"Compile"_ or _"Compile And Run"_.
23
24 - Or use [CGE command-line build tool](https://castle-engine.io/build_tool). Run `castle-engine compile` in this directory.
25
26 - Or use [Lazarus](https://www.lazarus-ide.org/). Open in Lazarus `image_display_standalone.lpi` file and compile / run from Lazarus. Make sure to first register [CGE Lazarus packages](https://castle-engine.io/lazarus).
27
28 - Or use [Delphi](https://www.embarcadero.com/products/Delphi). Open in Delphi `image_display_standalone.dproj` file and compile / run from Delphi. See [CGE and Delphi](https://castle-engine.io/delphi) documentation for details.