Maybe try libjpeg-turbo:2.1.2 which is the one installed in the official
Docker image?

https://github.com/camptocamp/docker-geoserver/blob/master/Dockerfile#L23C1-L24C1


*camptocamp*
INNOVATIVE SOLUTIONS
BY OPEN SOURCE EXPERTS

*Gabriel Roldán*
Geospatial Developer



On Tue, May 7, 2024 at 1:22 AM Alexandre Gacon <alexandre.ga...@gmail.com>
wrote:

> Hello,
>
> My GeoServer version is the 2.25.0 version, with a 3.0.2 libjpeg-turbo
> version.
>
> I have COG files which are displayed normally with the libjpegturbo
> extension disabled but which bring errors in my WMS requests when I enable
> the extension.
>
> The log file is attached to this mail.
>
> And the gdal info output for my test file is:
>
> Driver: GTiff/GeoTIFF Files:
> /home/agacon/qdn/argocd-gs-quai-des-notaires-apps/PLANIGN08_0440_6950_L93.tif
> Size is 500, 500 Coordinate System is: PROJCRS["RGF93 v1 / Lambert-93",
> BASEGEOGCRS["RGF93 v1", DATUM["Reseau Geodesique Francais 1993 v1",
> ELLIPSOID["GRS 1980",6378137,298.257222101, LENGTHUNIT["metre",1]]],
> PRIMEM["Greenwich",0, ANGLEUNIT["degree",0.0174532925199433]],
> ID["EPSG",4171]], CONVERSION["Lambert-93", METHOD["Lambert Conic Conformal
> (2SP)", ID["EPSG",9802]], PARAMETER["Latitude of false origin",46.5,
> ANGLEUNIT["degree",0.0174532925199433], ID["EPSG",8821]],
> PARAMETER["Longitude of false origin",3,
> ANGLEUNIT["degree",0.0174532925199433], ID["EPSG",8822]],
> PARAMETER["Latitude of 1st standard parallel",49,
> ANGLEUNIT["degree",0.0174532925199433], ID["EPSG",8823]],
> PARAMETER["Latitude of 2nd standard parallel",44,
> ANGLEUNIT["degree",0.0174532925199433], ID["EPSG",8824]],
> PARAMETER["Easting at false origin",700000, LENGTHUNIT["metre",1],
> ID["EPSG",8826]], PARAMETER["Northing at false origin",6600000,
> LENGTHUNIT["metre",1], ID["EPSG",8827]]], CS[Cartesian,2], AXIS["easting
> (X)",east, ORDER[1], LENGTHUNIT["metre",1]], AXIS["northing (Y)",north,
> ORDER[2], LENGTHUNIT["metre",1]], USAGE[ SCOPE["Engineering survey,
> topographic mapping."], AREA["France - onshore and offshore, mainland and
> Corsica (France métropolitaine including Corsica)."],
> BBOX[41.15,-9.86,51.56,10.38]], ID["EPSG",2154]] Data axis to CRS axis
> mapping: 1,2 Origin = (440000.000000000000000,6950000.000000000000000)
> Pixel Size = (400.000000000000000,-400.000000000000000) Metadata:
> AREA_OR_POINT=Area Image Structure Metadata: LAYOUT=COG COMPRESSION=LZW
> INTERLEAVE=PIXEL PREDICTOR=2 Corner Coordinates: Upper Left ( 440000.000,
> 6950000.000) ( 0d35'44.76"W, 49d35'45.32"N) Lower Left ( 440000.000,
> 6750000.000) ( 0d28'26.95"W, 47d47'56.07"N) Upper Right ( 640000.000,
> 6950000.000) ( 2d10'10.79"E, 49d38'46.66"N) Lower Right ( 640000.000,
> 6750000.000) ( 2d11'52.02"E, 47d50'51.55"N) Center ( 540000.000,
> 6850000.000) ( 0d49'27.77"E, 48d43'49.03"N) Band 1 Block=512x512 Type=Byte,
> ColorInterp=Red Band 2 Block=512x512 Type=Byte, ColorInterp=Green Band 3
> Block=512x512 Type=Byte, ColorInterp=Blue
>
> WHen I don't use cog files (for example with WMS requests on postgis db),
> I have no errors.
>
> What could be the issue?
>
> --
> Alexandre Gacon
> _______________________________________________
> Geoserver-users mailing list
>
> Please make sure you read the following two resources before posting to
> this list:
> - Earning your support instead of buying it, but Ian Turton:
> http://www.ianturton.com/talks/foss4g.html#/
> - The GeoServer user list posting guidelines:
> http://geoserver.org/comm/userlist-guidelines.html
>
> If you want to request a feature or an improvement, also see this:
> https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer
>
>
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
_______________________________________________
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: 
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to