Skip to content
/ Imger Public

A collection of image processing algorithms written in pure Go.

License

Notifications You must be signed in to change notification settings

Ernyoke/Imger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

461615a · Jul 27, 2024

History

76 Commits
Nov 24, 2022
Nov 24, 2022
Nov 24, 2022
Nov 24, 2022
Nov 24, 2022
Nov 24, 2022
Feb 10, 2024
Nov 24, 2022
Nov 24, 2022
Nov 24, 2022
Jul 27, 2024
Nov 24, 2022
Jul 27, 2024
Nov 24, 2022
Nov 24, 2022
Feb 21, 2018
Feb 23, 2018
Sep 17, 2023
Sep 17, 2023
Sep 17, 2023

Repository files navigation

Imger

MIT License Go Report Card

This repository contains a collection of image processing algorithms written in pure Go.

Currently supported

  • IO (ImreadGray, ImreadGray16, ImreadRGBA, ImreadRGBA64, Imwrite). Supported extensions: jpg, jpeg, png
  • Grayscale
  • Blend (AddScalarToGray, AddGray, AddGrayWeighted)
  • Threshold (Binary, BinaryInv, Trunc, ToZero, ToZeroInv, Otsu)
  • Image padding (BorderConstant, BorderReplicate, BorderReflect)
  • Convolution
  • Blur (Average - Box, Gaussian)
  • Edge detection (Sobel, Laplacian, Canny)
  • Resize (Nearest Neighbour, Linear, Catmull-Rom, Lanczos)
  • Effects (Pixelate, Sepia, Emboss, Sharpen, Invert)
  • Transform (Rotate)

Install

go get -u github.com/ernyoke/[email protected]

Running the Tests

go test ./...

License

This project is under the MIT License. See the LICENSE file for the full license text.