Unicode-based scientific plotting for working in the terminal
1–10 of 37 posts
Re: Unicode-based scientific plotting for working in the terminal
#2It turns out because of the way sixels are encoded (six vertical pixels in a row using bitplanes) it packs better than png when used in conjunction with the bzip2 packer. Every image can simply be encoded to sixel with imagemagick using "convert image.png sixel:- > image.six"
Personally I think sixels are genius should be used much more often.
Re: Unicode-based scientific plotting for working in the terminal
#3I recently found out that XTerm supports sixels natively if started with the "-ti 340" option. For example gnuplot can make use of that feature using the command "set terminal sixlegd". It turns out because of the way sixels are encoded (six vertical pixels in a row using bitplanes) it packs better than png when used in conjunction with the bzip2 packer. Every image can simply be encoded to sixel with imagemagick usi…
Re: Unicode-based scientific plotting for working in the terminal
#4I recently found out that XTerm supports sixels natively if started with the "-ti 340" option. For example gnuplot can make use of that feature using the command "set terminal sixlegd". It turns out because of the way sixels are encoded (six vertical pixels in a row using bitplanes) it packs better than png when used in conjunction with the bzip2 packer. Every image can simply be encoded to sixel with imagemagick usi…
Re: Unicode-based scientific plotting for working in the terminal
#5I recently found out that XTerm supports sixels natively if started with the "-ti 340" option. For example gnuplot can make use of that feature using the command "set terminal sixlegd". It turns out because of the way sixels are encoded (six vertical pixels in a row using bitplanes) it packs better than png when used in conjunction with the bzip2 packer. Every image can simply be encoded to sixel with imagemagick usi…
Cute! But is it fair? I don't think it's lossless - the color depth is much reduced.
Re: Unicode-based scientific plotting for working in the terminal
#6Re: Unicode-based scientific plotting for working in the terminal
#7Re: Unicode-based scientific plotting for working in the terminal
#8I recently found out that XTerm supports sixels natively if started with the "-ti 340" option. For example gnuplot can make use of that feature using the command "set terminal sixlegd". It turns out because of the way sixels are encoded (six vertical pixels in a row using bitplanes) it packs better than png when used in conjunction with the bzip2 packer. Every image can simply be encoded to sixel with imagemagick usi…
>it packs better than png when used in conjunction with the bzip2 packer. Cute! But is it fair? I don't think it's lossless - the color depth is much reduced.
Sixel + bzip2: 245K
PNG Imagemagick: 467K
PNG Zopfli 10 Iterations: 188K
Re: Unicode-based scientific plotting for working in the terminal
#9I recently found out that XTerm supports sixels natively if started with the "-ti 340" option. For example gnuplot can make use of that feature using the command "set terminal sixlegd". It turns out because of the way sixels are encoded (six vertical pixels in a row using bitplanes) it packs better than png when used in conjunction with the bzip2 packer. Every image can simply be encoded to sixel with imagemagick usi…