nikon

package
v0.0.0-...-8fd0e22 Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2016 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Make  = "NIKON CORPORATION"
	Make2 = "NIKON"
)

Variables

View Source
var (
	MakerNoteTags     = tiff.NewTagSet("NikonMakerNote", 0, 65535)
	MakerNoteTagSpace = tiff.NewTagSpace("NikonMakerNote")
)

Functions

This section is empty.

Types

type JpegIFD

type JpegIFD struct {
	// IFD Entries (8 tags)
	NewSubfileType              uint32   `tiff:"field,tag=254"`
	Compression                 uint16   `tiff:"field,tag=259"`
	XResolution                 *big.Rat `tiff:"field,tag=282"`
	YResolution                 *big.Rat `tiff:"field,tag=283"`
	ResolutionUnit              uint16   `tiff:"field,tag=296"`
	JPEGInterchangeFormat       uint32   `tiff:"field,tag=513"`
	JPEGInterchangeFormatLength uint32   `tiff:"field,tag=514"`
	YCbCrPositioning            uint16   `tiff:"field,tag=531"`

	// The image that this IFD describes.
	Img image.Image
}

type RawIFD

type RawIFD struct {
	// IFD Entries (18 tags)
	NewSubfileType            uint32    `tiff:"field,tag=254"`
	ImageWidth                uint32    `tiff:"field,tag=256"`
	ImageLength               uint32    `tiff:"field,tag=257"`
	BitsPerSample             uint16    `tiff:"field,tag=258"`
	Compression               uint16    `tiff:"field,tag=259"`
	PhotometricInterpretation uint16    `tiff:"field,tag=262"`
	StripOffsets              []uint32  `tiff:"field,tag=273"`
	Orientation               uint16    `tiff:"field,tag=274"` // Not always present
	SamplesPerPixel           uint16    `tiff:"field,tag=277"`
	RowsPerStrip              uint32    `tiff:"field,tag=278"`
	StripByteCounts           []uint32  `tiff:"field,tag=279"`
	XResolution               *big.Rat  `tiff:"field,tag=282"`
	YResolution               *big.Rat  `tiff:"field,tag=283"`
	PlanarConfiguration       uint16    `tiff:"field,tag=284"`
	ResolutionUnit            uint16    `tiff:"field,tag=296"`
	CFARepeatPatternDim       [2]uint16 `tiff:"field,tag=33421"`
	CFAPattern                [4]byte   `tiff:"field,tag=33422"`
	SensingMethod             uint16    `tiff:"field,tag=37399"`

	// The image that this IFD describes.
	Img image.Image
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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