You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Instead of writing to file handle, here we need to write contents to IO buffer via the Base64 encoder pipe s. I don't know how the pointer of s can be passed to libpng, though. Any guidance would be helpful.
following all the way from JuliaIO/ImageIO.jl#6 and JuliaImages/Images.jl#912, it turns out #14 isn't so generic...
Tracking down with debugger, here's a minimal example that reproduces the issue:
The result
take!(io.io)
is then passed down to VSCode or whatever displayer.I'm not familiar with libpng and C bindings to fix the issue, but the root problem seems to be
PNGFiles.jl/src/io.jl
Line 298 in 206430f
Instead of writing to file handle, here we need to write contents to IO buffer via the Base64 encoder pipe
s
. I don't know how the pointer ofs
can be passed to libpng, though. Any guidance would be helpful.Other related PRs:
mapi
keywordsiswritable
. A patch is still needed here for old Julia versions.maybe_lock
for Base64EncodePipe and IOBuffer types.The text was updated successfully, but these errors were encountered: