Skip to content

Adding Phase One XF Sequence Tags #372

@emorydunn

Description

@emorydunn

I've been doing some work with focus stacks recently and wanted to dig into the Phase One XF sequence tags that are included in files to help group sequences (exposure brackets, focus stacks, etc.) together. There are four tags and one composite. It would be great to have them included in exiftool.

Tag Description Info
0x0263 Sequence Kind 0-6
0x0264 Frame Number
0x0265 Frame Total
0x0262 Sequence ID [Serial Number]_[Counter]
Sequence Info [FrameNumber]/[FrameTotal] ([ID])

Sequence Kind

Value Description
0 Bracketing: Shutter Speed
1 Bracketing: Aperture
2 Bracketing: ISO
3 Hyperfocal
4 Time Lapse
5 HDR
6 Focus Stacking

I have this in my config for reading and writing the tags, which appears to be working well.

'Image::ExifTool::PhaseOne::Main' => {
	0x0263 => {
		Name => 'SequenceKind',
		PrintConv => {
			0 => 'Bracketing: Shutter Speed',
			1 => 'Bracketing: Aperture',
			2 => 'Bracketing: ISO',
			3 => 'Hyperfocal',
			4 => 'Time Lapse',
			5 => 'HDR',
			6 => 'Focus Stacking',
		},
		PrintConvInv => '$val',
	},
	0x0264 => 'SequenceFrameNumber',
	0x0265 => 'SequenceFrameCount',
	0x0262 => { Name => 'SequenceID', Format => 'string' }
},
'Image::ExifTool::Composite' => {
	SequenceInfo => {
		Require => {
			0 => 'SequenceFrameNumber',
			1 => 'SequenceFrameCount',
			2 => 'SequenceKind'
		},
		PrintConv => 'sprintf("%i/%i (%s)", $prt[0], $prt[1], @prt[2])'
	}
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions