# Introduction

English Documentation | [简体中文文档](https://imgo.gitbook.io/cn/)

![Github stars](https://img.shields.io/github/stars/fishtailstudio/imgo?style=social) ![GitHub go.mod Go version](https://img.shields.io/github/go-mod/go-version/fishtailstudio/imgo) ![GitHub tag (latest by date)](https://img.shields.io/github/v/tag/fishtailstudio/imgo) [![GoDoc](https://godoc.org/github.com/fishtailstudio/imgo?status.svg)](https://pkg.go.dev/github.com/fishtailstudio/imgo) [![Go Report Card](https://goreportcard.com/badge/github.com/fishtailstudio/imgo)](https://goreportcard.com/report/github.com/fishtailstudio/imgo)[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)

`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

```bash
go get -u github.com/fishtailstudio/imgo
```

## Usage

```go
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](https://github.com/fishtailstudio)

## Contributing

Feel free to dive in! [Open an issue](https://github.com/fishtailstudio/imgo/issues/new) or submit PRs.

## Give a Star ! ⭐

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

## License

MIT © fishtailstudio


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://imgo.gitbook.io/en/introduction/introduction.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
