The purpose of this package is to image resizing, compressing processes and adding to S3 Bucket.
go get github.com/akatis/go-image-RMSEimport RCS3 "github.com/akatis/go-image-RCS3"base64Str := "image_base64_string"
imageFile, _ := RCS3.ImgCompress(240, 240, base64Str)config := RCS3.New(&RCS3.S3Config{
S3_ACCESS_KEY: "YOUR_ACCESS_KEY",
S3_SECRET_KEY: "YOUR_SECRET_KEY",
S3_REGION: "YOUR_REGION",
S3_BUCKET: "YOUR_BUCKET",
S3_OBJECT_KEY: "YOUR_OBJECT_KEY",
})_ = config.AddS3(imageFile, "image.jpg")