This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# The function ds() below reads a Sixel graphics file and creates an RGB Image, | |
# which can then be displayed and processed using the Image package. | |
# Public domain example code. | |
using Color, Images, ImageView | |
function vt340_palette() | |
pal = RGB[] | |
push!(pal, RGB(0.00, 0.00, 0.00)) | |
push!(pal, RGB(0.20, 0.20, 0.80)) |