Skip to content

yone098/go-iccjpeg

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

go-iccjpeg

Description

A small utility package to extract ICC profiles from JPEG buffers.

Installing

go get github.com/vimeo/go-iccjpeg/iccjpeg/iccjpeg

API

The API is a single function call:

import "github.com/vimeo/go-iccjpeg/iccjpeg"

iccjpeg.GetICCBuf(input io.Reader) ([]byte, error)

It takes an io.Reader with a JPEG, and returns a buffer with the embedded ICC profile from that JPEG, if there is one. If there is not one, it returns an empty buffer.

About

A small utility package to extract ICC profiles from JPEGs.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 100.0%