scratch: dmitri.shuralyov.com/scratch/image/jpeg Index | Files

package jpeg

import "dmitri.shuralyov.com/scratch/image/jpeg"

Package jpeg implements a tiny subset of a JPEG image decoder and encoder.

JPEG is defined in ITU-T T.81: http://www.w3.org/Graphics/JPEG/itu-t81.pdf.

Index

Package Files

jpeg.go

Constants

const Magic = "\xff\xd8"

Magic is the magic prefix that identifies the JPEG format. It can be used with image.RegisterFormat.

Updated 2018-02-01. Refresh now. Tools for package owners.