poniedziałek, 9 listopada 2020

[Let`s go with golang] Image progressing

 There are many issues to simple programs. For me The most intresting is change image.

Golang have good library to image so was funny. 

I had problem to type of values. Libs use RGB in uint8 (0,255) but I need avarage in to greater scope (3x255) so I converted values to int32, I was doing my job and converted back.

I wanted do "black and white"  and "sepia" transformation

SOURCE






Brak komentarzy:

Prześlij komentarz