Bitmap/Read an image through a pipe: Difference between revisions
Content added Content deleted
(→{{header|Go}}: Integrate with flood fill task. (The previous rev was still working fine)) |
m (→{{header|Go}}: better yet, fix the anti-aliasing) |
||
Line 120: | Line 120: | ||
func main() { |
func main() { |
||
c := exec.Command("convert", "Unfilledcirc.png", "-depth", " |
c := exec.Command("convert", "Unfilledcirc.png", "-depth", "1", "ppm:-") |
||
pipe, err := c.StdoutPipe() |
pipe, err := c.StdoutPipe() |
||
if err != nil { |
if err != nil { |