don't read into a buffer first
This commit is contained in:
parent
b78da20d04
commit
19fba27951
@ -110,7 +110,7 @@ end
|
|||||||
Base.showable(::MIME"image/gif", agif::AnimatedGif) = file_extension(agif.filename) == "gif"
|
Base.showable(::MIME"image/gif", agif::AnimatedGif) = file_extension(agif.filename) == "gif"
|
||||||
|
|
||||||
function Base.show(io::IO, ::MIME"image/gif", agif::AnimatedGif)
|
function Base.show(io::IO, ::MIME"image/gif", agif::AnimatedGif)
|
||||||
write(io, read(agif.filename))
|
open(fio-> write(io, fio), agif.filename)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user