News for hackers. Stuff that matters.
Re:John Carmack on JPEG by Sebb767 on Friday June 04, 2021 @06:41PM (#27399891)
What's the advantage of JPEG2000 lossless over, say, PNG? Archives will probably be compress later on anyway and using a widely-supported and known format seems far more suited for archival purposes.
Re:John Carmack on JPEG by aaron-santos on Friday June 04, 2021 @07:00PM (#27400052)
JPEG2000 can be more of a data container than an image format. While the downsides are many, there are a few upsides to JPEG2000. Greater bit depth is useful when storing DNs. More than three channels is useful when storing multi-spectral images. Internal tiling is useful when range reading specific parts of an image (obvs more useful when working with very large images). These specifically make JPEG2000 more useful than PNG when working in certain domains. Satellite imagery is one such domain.
Re:John Carmack on JPEG by j16sdiz on Saturday June 05, 2021 @08:14AM (#27404258)
Why not just TIFF for container?
Re:John Carmack on JPEG by shakow on Friday June 04, 2021 @07:28PM (#27400296)
DNs?
Re:John Carmack on JPEG by hollasch on Friday June 04, 2021 @07:51PM (#27400498)
Digital Negatives
Re:John Carmack on JPEG by aaron-santos on Friday June 04, 2021 @07:32PM (#27400332)
Digital number, the output of an analog to digital converter.
Re:John Carmack on JPEG by gsich on Friday June 04, 2021 @07:40PM (#27400406)
I thought Digital Negative.
Re:John Carmack on JPEG by aaron-santos on Friday June 04, 2021 @10:04PM (#27401282)
I can see how it would be useful for digital negatives too, but I don't know much about those.
Re:John Carmack on JPEG by gsich on Saturday June 05, 2021 @09:34AM (#27404865)
It's a fancy word for raw files.
Re:John Carmack on JPEG by shakow on Friday June 04, 2021 @08:59PM (#27400934)
Thanks!
Re:John Carmack on JPEG by KMag on Saturday June 05, 2021 @04:18AM (#27403235)
> Archives will probably be compress later on anyway

What do you mean by this? Zip, 7zip, gzip, zstd, etc. get little to no compression on PNG. JPEG, or JPEG2000. Presumably you mean something other than zipping up directories of images.

Re:John Carmack on JPEG by josefx on Saturday June 05, 2021 @10:58AM (#27405593)
Zip compressing a single PNG is kinda redundant, since it already uses the same algorithms as part of its own lossless compression.
Re:John Carmack on JPEG by KMag on Saturday June 05, 2021 @11:08AM (#27405681)
Yes. I'm aware that zip, gzip, and PNG all use zlib DEFLATE compression.