Categorygithub.com/fishtailstudio/imgo
modulepackage
0.0.3
Repository: https://github.com/fishtailstudio/imgo.git
Documentation: pkg.go.dev

# README

ImGo

English | 简体中文

Github stars GitHub go.mod Go version GitHub tag (latest by date) GoDoc Go Report Card License: MIT

Introduction

Image Golang => Img Go => ImGo [ˈɪmɡəʊ]

ImGo is an open source Golang image handling and manipulation library. It provides an easier and expressive way to create, edit, and compose images.

Installation

go get -u github.com/fishtailstudio/imgo

Documentation

English Documentation | 简体中文文档

Usage

package main

import "github.com/fishtailstudio/imgo"

func main() {
    imgo.Load("background.png").
        Resize(250, 350).
        Insert("gopher.png", 50, 50).
        Save("out.png")
}

Maintainers

@fishtailstudio

Contributing

Feel free to dive in! Open an Issue or submit PRs.

Give a Star ! ⭐

If you like or are using this project, please give it a star. Thanks!

License

MIT © fishtailstudio

# Packages

No description provided by the author

# Functions

Canvas create a new empty image.
Color2Hex converts a color.Color to its hex string representation.
GetImageType returns the extension, mimetype and corresponding decoder function of the image.
Image2RGBA converts an image to RGBA.
Load an image from source.
LoadFromBase64 loads an image from a base64 encoded string.
LoadFromFile loads an image from a file.
LoadFromImage loads an image from an instance of image.Image.
LoadFromImgo loads an image from an instance of Image.
LoadFromPath loads an image from a path.
LoadFromUrl loads an image when the source is an url.

# Constants

No description provided by the author
No description provided by the author

# Variables

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

No description provided by the author
No description provided by the author
No description provided by the author

# Type aliases

Flip Type.