79 points · by userbinator · 4y ago · 83 comments
But for me, the problem is just how unwieldy the files are. Nothing seems to work with them well, except ImageMagick, to convert the files to some more-usable format.
I do a lot of Blender renders, and for a while I thought I'd use 12-bit JPEG2000 so that I could capture more details in the shadows for subsequent photo editing.
Big mistake. I ended up having to write a series of very complicated scripts to convert all to regular JPEG for 99% of whatever I'm doing with the images. GIMP doesn't work well with them. My own image viewer, based on Kivy, doesn't work at all with them. MacOS generates thumbnails on them at maybe 1/10th the speed of comparable JPEGs.
In the end I just decided if I really want to work with the darks in an image I will go find the original .blend and re-render the scene. Now I render straight to regular JPEG and I save massive amounts of time.
GIMP doesn't work well high-precision files, although it's gotten better. Photoshop can deal with these, even very old versions of Photoshop.
Use OpenEXR or HDR output formats and do the tone mapping as a separate step.
Also note that plain JPEG supports 12-bit in the first place.
We also use it for our 3D renders for archviz, and is supported in our editing applications aswell... lower filesize compared to PNG, and better quality compared to JPG, and also supports alphas.
In this case, the jpeg 2000 is probably considered a derivative and thus not a big issue for preservation.
So, presumably they could have swapped to commodity hardware a while ago.
https://www.intopix.com/JPEG2000
Most post-production software that reads/writes DCPs will be using a GPU JPEG2000 encoder & decoder, like this from Comprimato:
https://toolstud.io/video/filesize.php?width=3840&height=216...
That much is a given, and addresses none of the article's points.
PDFs are probably where the majority of users will encounter J2K.
Given that there are free, open source implementations of the JPEG 2000 decoder, There is no plausible preservation risk. Even if, in 150 years, the contemporary version of ImageMagick has dropped support for JPEG 2000, it would be relatively trivial to spin up an ancient virtual machine and run a 100-year-old version of Linux.
Or, you know, pay an intern to port some old code to whatever modern language they’re using then. Rust, probably.
[edit] I thought I had the originals backed up on CD, it turns out I didn't.
DigiKam and many other programs don't support them natively.
At some point I'm going to have to write a script and convert them all to normal jpegs.
find -type f -name '*.jp2' | parallel --xargs --max-args=1 convert {} {.}.jpgI think some editors now save the original and just store the modification steps (Lightroom does this for raw at least.)
[0]https://upload.wikimedia.org/wikipedia/commons/5/51/JPEG_JFI...
> libjasper C 26,458
> PIL C 12,493, Python: 9,229
But does PIL actually implement any of those image formats, or is it simply wrapping other libraries in the python/c api?
https://github.com/uclouvain/openjpeg and https://github.com/GrokImageCompression/grok
JPEG 2000 is a niche codec, but in the niches that it occupies it is the gold standard, even after 20 years:
1. digital cinema (part of the digital cinema standard) and broadcast 2. medical imaging 3. satellite imagery
For memory institutions, it still vies with Tiff as the top preservation codec.
Do whatever.
The only thing that matters is publishing it in the first place and backing up on hardware that's not at preservation risk.
This is great example of fake science (Is it just "science" now?) keep the underclass constantly anxious about things that don't exist so they keep paying academics wages to do nothing but supply fear and disruption.