Comment by pmarreck

12 hours ago

ah, that's a good point.

perhaps use .ll.jxl to indicate "lossless jpegxl" informally?

prior art: I've been using .frontmatter.md or .fm.md for markdown files with frontmatter

I've been wishing for years that all of these codecs with hybrid lossless/lossy modes would just add a single l to their file extensions, purely for the annoyance of it.

Like, you can do this individually, but it's not the same thing as actually having it in the standard.

  • Does the L stand for lossy, or lossless? Or large, as in this case?

    • One L for Lossy, two for LossLess.

      Does the one at the end of .JXL count toward the total? Nobody knows what it stands for anyway.

When writing GPU shaders it's not uncommon to use extensions like ".vert.glsl" = "vertex shader written in GLSL", ".frag.hlsl" = "fragment shader written in HLSL", etc.

Multiple extensions typically denote nested filetypes.

Like files.tar.xz may be decompressed with xz and then extracted with tar to get the directory "files".

I think in your case .md.fm would be a greater fit, as the front matter is read first. Or just .fmd