We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2408ad5 commit b552d8eCopy full SHA for b552d8e
src/ImageInTerminal.jl
@@ -55,8 +55,8 @@ function choose_sixel(img::AbstractArray)
55
# Small images really do not need sixel encoding.
56
# `60` is a randomly chosen value (10 sixel); it's not the best because
57
# 60x60 image will be very small in terminal after sixel encoding.
58
- any(size(img) .≤ 12) && return false
59
- all(size(img) .≤ 60) && return false
+ any(size(img)[1:2] .≤ 12) && return false
+ all(size(img)[1:2] .≤ 60) && return false
60
return true
61
end
62
0 commit comments