Closed kimikage closed 4 years ago
Good idea, but I think that requires PNGFiles to support savestreaming
method to suit https://github.com/JuliaImages/ImageShow.jl/blob/026ccda2f99536b2711fc599b2cd8da95ce5573d/src/showmime.jl#L45
Once that's done, ImageMagick will be automatically replaced by PNGFiles if the user has it installed.
cc: @ianshmean
Well, I assumed the usage without the FileIO and streaming. In any case, we need to extend PNGFiles.
With https://github.com/JuliaIO/PNGFiles.jl/pull/14 merged, I think this is good to close; FileIO would use ImageIO if available.
PNGFiles does indeed support streams now, and I’ll be adding support in ImageIO once PNGfiles releases. Should all be released today
Released as of ImageIO 0.2.0 👍
I think ImageShow.jl only use the PNG generation function of ImageMagick, so ImageMagick can be replaced by the new package PNGFIles.
Perhaps when we use ImageShow without image files other than PNG, PNGFiles is better. However, in many cases, other packages in use depend on ImageMagick, so it is not always better.