imageconverter

package module
v0.0.0-...-46fbc9c Latest Latest
Warning

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

Go to latest
Published: Aug 12, 2022 License: MIT Imports: 7 Imported by: 0

README

imgconverter is an utility to convert image files from jpg to png format and vice-versa.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConvertToRGBA

func ConvertToRGBA(img image.Image) *image.RGBA

Converts every image into RGBA format

func ReadImage

func ReadImage(r io.Reader, extn string) (image.Image, error)

Reads image from a file

func WriteImage

func WriteImage(img *image.RGBA, w io.Writer, extn string) error

Writes image to a file

Types

This section is empty.

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

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