News for hackers. Stuff that matters.
Re:Preview in macOS Big Sur is destroying PDFs by idle_zealot on Wednesday December 16, 2020 @08:20PM (#25451147)
> I think we need a multi-image container format. It could be something that's literally a bunch of jpgs/pngs/pick your poison in a tar container

You've just described the .cbt format!

https://en.m.wikipedia.org/wiki/Comic_book_archive

Re:Preview in macOS Big Sur is destroying PDFs by marcan_42 on Wednesday December 16, 2020 @11:24PM (#25452438)
And it's a bad format, because .tar does not have an index that allows random access. It also does not have compression, unless you stick it in gzip, which makes it even worse because then you can't even skip entries, you have to decompress the whole thing from the top.

.zip is better, at least that has an index, but at the end of the file, so it's not linearly streamable.

For what it's worth, .pdf is structurally ~the same as .zip; the index is at the end, and blocks are compressed individually.

Choice of archive format matters :-)

Re:Preview in macOS Big Sur is destroying PDFs by Freak_NL on Thursday December 17, 2020 @06:14AM (#25454513)
Most comics using this meta-format seem to use .cbr (Rar) or .cbz (Zip). The main benefit is that reader software understands the intended use of these archives, and you can link a comic book reader to these file extensions.