ImageIO.jl icon indicating copy to clipboard operation
ImageIO.jl copied to clipboard

Not embracing package extensions

Open johnnychen94 opened this issue 2 years ago • 2 comments

This is a memo to get some agreement on why I don't want to introduce the new package extension mechanism for ImageIO (and FileIO).

  • Compatibility:
    • we want downstream users to refrain from managing the compatibility of different backends
    • package authors that only want minimal jpeg support can use JpegTurbo and maintain the compatibility themselves
  • workflow:
    • we don't want our users to remember every image IO backend name to trigger the wrapper module loading, we want our users to remember only ImageIO and FileIO.load/FileIO.save.
    • A common workflow is (v1.9) pkg> add ImageIO FileIO and every project above it just works (without needing to add them repeatedly). The package extension doesn't support this workflow IIUC. (CRef: https://github.com/JuliaLang/julia/pull/49701)

johnnychen94 avatar May 10 '23 10:05 johnnychen94

Agreed! For exactly the reasons you cite.

timholy avatar May 10 '23 17:05 timholy

Would it make sense to make an exception for sixel? It's a pain that it depends on REPL, which takes so long to compile

dpinol avatar Oct 11 '24 13:10 dpinol