imageicc

package module
v0.0.0-...-2983273 Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2022 License: MIT Imports: 9 Imported by: 0

README

imageicc: Read ICC color profile embedded in jpg/png/gif/tiff image

The title describes it all.

Documentation

Overview

Package imageicc reads ICC color profiles embedded in image files.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadICCfromGIF

func LoadICCfromGIF(in io.ReadSeeker) (iccProfile []byte, err error)

Read ICC profile embedded in a PNG file. If there is no ICC profile then nil data and no error is returned.

func LoadICCfromJPG

func LoadICCfromJPG(in io.ReadSeeker) (iccProfile []byte, err error)

Read ICC profile embedded in a JPG file. If there is no ICC profile then nil data and no error is returned.

func LoadICCfromPNG

func LoadICCfromPNG(in io.ReadSeeker) (iccProfile []byte, err error)

Read ICC profile embedded in a PNG file. profileName is a string included in the PNG along with the ICC profile. If there is no ICC profile then nil data and no error is returned.

func LoadICCfromPNGWithName

func LoadICCfromPNGWithName(in io.ReadSeeker) (iccProfile []byte, profileName string, err error)

Read ICC profile and profile name embedded in a PNG file. profileName is a string included in the PNG along with the ICC profile. If there is no ICC profile then nil data and no error is returned.

func LoadICCfromTIFF

func LoadICCfromTIFF(in io.ReadSeeker) (iccProfile []byte, err error)

Parse TIFF tags and find an embedded ICC profile

Types

This section is empty.

Jump to

Keyboard shortcuts

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