Documentation ¶
Overview ¶
S05: An simple image converter.
Read PNG from standard input, write JPG to standard output.
Inspired by Donovan, Kernighan (2016), page 287. https://creativecommons.org/licenses/by-nc-sa/4.0/
OUTPUT:
$ cat gopherbw.png | go run main.go > gopherbw.jpg
You should find a new file gopherbw.jpg in the directory.
Click to show internal directories.
Click to hide internal directories.