You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/en/user/extensions/libjpeg-turbo/index.md
+24-24Lines changed: 24 additions & 24 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,9 +18,26 @@ The module, once installed, replaces the standard JPEG encoder for GeoServer and
18
18
!!! note
19
19
This module depends on a successful installation of the libjpeg-turbo native libraries described in the next section.
20
20
21
+
## Installing the GeoServer libjpeg-turbo extension
22
+
23
+
1. Login, and navigate to **About & Status > About GeoServer** and check **Build Information** to determine the exact version of GeoServer you are running.
24
+
25
+
2. Visit the [website download](https://geoserver.org/download) page, change the **Archive** tab, and locate your release.
26
+
27
+
From the list of **Output Formats** extensions download **JPEG Turbo**.
Verify that the version number in the filename corresponds to the version of GeoServer you are running (for example {{ release }} above).
33
+
34
+
3. Extract the contents of the archive into the **`WEB-INF/lib`** directory of the GeoServer installation.
35
+
21
36
## Installing the libjpeg-turbo native library
22
37
23
-
Installing the libjpeg-turbo native library is a precondition to have the relative GeoServer Map Encoder properly installed; once the GeoServer extension has been installed as we explain in the following section, the needed JARs with the Java bridge to the library are in the classpath, therefore all we need to do is to install the native library itself to start encoding JPEG at turbo speed.
38
+
Installing the libjpeg-turbo native library is a prerequisite for properly enabling the corresponding GeoServer Map Encoder. Once the GeoServer extension is installed, the required JARs providing the Java bindings to the native library are already available on the classpath.
39
+
40
+
The turbojpeg-X.X.X.jar bundle (at the time of writing, turbojpeg-8.5.0.jar), included in the libjpeg-turbo-plugin.zip, also contains the necessary native libraries. Therefore, the only remaining step is to install the native library itself to enable high-performance JPEG encoding.
24
41
25
42
1. Linux users may also check if it is available from their package manager:
26
43
@@ -31,37 +48,20 @@ Installing the libjpeg-turbo native library is a precondition to have the relati
31
48
32
49
To perform the installation of the libjpeg-turbo binaries (or native library) you have to perform the following steps:
33
50
34
-
1. Go to the download site [here](https://sourceforge.net/projects/libjpeg-turbo/files/) and download the latest available stable release (1.2.90 at the time of writing).
35
-
2. Select the package that matches the target platform in terms of Operating System (e.g. Linux rather than Windows) and Architecture (32 vs 64 bits).
36
-
3. Perform the installation using the target platform conventions. As an instance forWindows you should be using an installer that installs all the needed libsin a location at user's choice. On Ubuntu Linux systems you can use the *deb* files instead.
37
-
4. Once the native libraries are installed, you have to make sure the GeoServer can load them. This should happen automatically after Step 2 on Linux, while on Windows you should make sure that the location where you placed the DLLs is part of the PATH environment variable for the Java Process for the GeoServer.
51
+
1. Extract the turbojpeg-X.X.X.jar file (located in the WEB-INF/lib directory of your GeoServer installation) into a temporary folder.
38
52
39
-
!!! warning
53
+
2. Navigate to the META-INF/lib directory and selectthe package that matches your target platform, considering both the operating system (e.g., Linux or Windows) and the architecture (32-bit or 64-bit).
54
+
3. Copy the required native library (e.g., turbojpeg.dll forWindows or turbojpeg.so for Linux) to a location includedin the Java process’s native library path for GeoServer. See the **Notes** below for further details.
55
+
56
+
!!! note
40
57
When installing on Windows, always make sure that the location where you placed the DLLs is part of the `PATH` environment variable for the Java Process for the GeoServer. This usually means that you have to add such location to the PATH environmental variable for the user that is used to run GeoServer or the system wide variables.
41
58
42
-
!!! warning
59
+
!!!note
43
60
When installing on Linux, make sure that the location where you placed the DLLs is part of the `LD_LIBRARY_PATH` environment variable forthe Java Process for the GeoServer. This usually happens automatically for the various Linux packages, butin some cases you might be forced to do that manually
44
61
45
62
!!! note
46
63
It does not hurt to add also the location where the native libraries are installed to the Java startup options `-Djava.library.path=<absolute_and_valid_path>`.
47
64
48
-
## Installing the GeoServer libjpeg-turbo extension
49
-
50
-
!!! warning
51
-
Before moving on make sure you installed the libjpeg-turbo binaries as per the section above.
52
-
53
-
1. Login, and navigate to **About & Status > About GeoServer** and check **Build Information** to determine the exact version of GeoServer you are running.
54
-
55
-
2. Visit the [website download](https://geoserver.org/download) page, change the **Archive** tab, and locate your release.
56
-
57
-
From the list of **Output Formats** extensions download **JPEG Turbo**.
0 commit comments