decentral1se
3 years ago
No known key found for this signature in database
GPG Key ID: 3789458B3D0C410
1 changed files with
2 additions and
0 deletions
-
distribusi.go
|
@ -471,6 +471,8 @@ func genThumb(c *cli.Context, fpath, caption string) (string, error) { |
|
|
|
|
|
|
|
|
imgBase64Str := base64.StdEncoding.EncodeToString(buf.Bytes()) |
|
|
imgBase64Str := base64.StdEncoding.EncodeToString(buf.Bytes()) |
|
|
|
|
|
|
|
|
|
|
|
logrus.Debugf("successfully generated thumbnail for %s", fpath) |
|
|
|
|
|
|
|
|
return imgBase64Str, nil |
|
|
return imgBase64Str, nil |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|