mirror of https://github.com/dsoprea/go-exif.git
20 lines
382 B
Go
20 lines
382 B
Go
package exif
|
|
|
|
import (
|
|
"encoding/binary"
|
|
|
|
"github.com/dsoprea/go-exif/v2/common"
|
|
)
|
|
|
|
func newValueContextFromTag(ite *IfdTagEntry, addressableData []byte, byteOrder binary.ByteOrder) *exifcommon.ValueContext {
|
|
return exifcommon.NewValueContext(
|
|
ite.IfdPath,
|
|
ite.TagId,
|
|
ite.UnitCount,
|
|
ite.ValueOffset,
|
|
ite.RawValueOffset,
|
|
addressableData,
|
|
ite.TagType,
|
|
byteOrder)
|
|
}
|