go-image-resizer

module
v1.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 15, 2022 License: MIT

README

go-image-resizer Go Report Card

go package for resizing images

This package is able to resize images of type gif, jpeg, and png.

Example

package main

import (
	"io/ioutil"

	"github.com/SKF/go-image-resizer/resizer"
)

func main() {
	image, _ := ioutil.ReadFile("image.png")

	resizedImage, err := resizer.ResizeImage(image, resizer.JpegEncoder, 800, 800)
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL