Public bug reported: Package gdal-bin
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 error: 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 https://github.com/OSGeo/gdal/commit/c515fa7eecc885ab59a3c717ad96415b9b2e7077 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) Importance: Undecided Status: New ** Project changed: launchpad => gdal (Ubuntu) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1752969 Title: GDAL cannot create large jpegs To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gdal/+bug/1752969/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs