Public bug reported:
On Ubuntu 17.10 (Current packages as of March 2, 2018)
With gdal 2.2.1+dfsg-2build3
When converting a large NITF file (~26mb) to JPEG, I get the following
e.g. gdal_translate -of JPEG mylarge.nitf mylarge.jpeg
Input file size is 30464, 22528
OERROR 1: libjpeg: Backing store not supported
I did some research into this and basically it appears that libjpeg-
turbo (which gdal is using to r/w JPEG's) recently starting honouring
max_memory_to_use (as of 1.5.2), and lacks a backing store
implementation (which is apparently some archaic way of mapping memory).
It looks like this is the appropriate fix in GDAL
I believe this just needs to be incorported into the version in Ubuntu,
though further discussion and/or testing would be warranted.
It's pretty easy to replicate.. just try to write any large file with
gdal_translate (for reference, my 26mb JP2/NITF is roughly a 670mb bmp).
You get the same problem writing any large file with gdal_translate as
jpeg, it's not specific to JP2/NITF inputs.
** Affects: gdal (Ubuntu)
** Project changed: launchpad => gdal (Ubuntu)
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
GDAL cannot create large jpegs
To manage notifications about this bug go to:
ubuntu-bugs mailing list