Skip to content

Commit ab9823b

Browse files
committed
add readme entries for new image examples
1 parent 1b4a489 commit ab9823b

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed

expert/image3.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,6 @@ func main() {
103103

104104
err = png.Encode(file, img)
105105
if err != nil {
106-
log.Fatalf("Error encoding image: %s\n", err)
106+
log.Fatalf("Error encoding image: %s\n", err)
107107
}
108108
}

readme.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -451,6 +451,18 @@ Convert a image to a grayscale and to a color inverted image
451451
go run image.go
452452
```
453453

454+
Generate an image with three colored circles (with intersection)
455+
456+
```Shell
457+
go run image2.go
458+
```
459+
460+
Generate an image representing the Mandelbrot fractal
461+
462+
```Shell
463+
go run image3.go
464+
```
465+
454466
Sql (sqlite) golang example
455467

456468
```Shell

0 commit comments

Comments
 (0)