fix hgr-to-png converter and images
|
@ -73,6 +73,10 @@ func run(args []string) error {
|
|||
paletted.Set(x0+2*b, y, c)
|
||||
paletted.Set(x0+2*b+1, y, c)
|
||||
}
|
||||
// Draw an extra dot so delayed patterns can "extend" the last value.
|
||||
if val&0x80 == 0 && val&0x40 > 0 {
|
||||
paletted.Set(x0+2*7, y, color.White)
|
||||
}
|
||||
}
|
||||
|
||||
f, err := os.Create(args[1])
|
||||
|
|
Before Width: | Height: | Size: 6.5 KiB After Width: | Height: | Size: 6.5 KiB |
Before Width: | Height: | Size: 4.7 KiB After Width: | Height: | Size: 4.6 KiB |
Before Width: | Height: | Size: 5.2 KiB After Width: | Height: | Size: 5.1 KiB |
Before Width: | Height: | Size: 4.3 KiB After Width: | Height: | Size: 4.2 KiB |
Before Width: | Height: | Size: 1.8 KiB After Width: | Height: | Size: 1.8 KiB |
Before Width: | Height: | Size: 4.3 KiB After Width: | Height: | Size: 4.3 KiB |
Before Width: | Height: | Size: 4.2 KiB After Width: | Height: | Size: 4.2 KiB |