BPG Tags

The information listed below is extracted from BPG (Better Portable Graphics) images. See http://bellard.org/bpg/ for the specification.

Index1Tag Name WritableValues / Notes
4 PixelFormat no [val >> 13 & 0x7]
0 = Grayscale
1 = 4:2:0 (chroma at 0.5, 0.5)
2 = 4:2:2 (chroma at 0.5, 0)
3 = 4:4:4
4 = 4:2:0 (chroma at 0, 0.5)
5 = 4:2:2 (chroma at 0, 0)
4.1 Alpha no [val & 0x1004]
0x0 = No Alpha Plane
0x4 = Alpha Exists (W color component)
0x1000 = Alpha Exists (color not premultiplied)
0x1004 = Alpha Exists (color premultiplied)
4.2 BitDepth no [val >> 8 & 0xf]
4.3 ColorSpace no [val >> 4 & 0xf]
0 = YCbCr (BT 601)
1 = RGB
2 = YCgCo
3 = YCbCr (BT 709)
4 = YCbCr (BT 2020)
5 = BT 2020 Constant Luminance
4.4 Flags no [val & 0xb]
Bit 0 = Animation
Bit 1 = Limited Range
Bit 3 = Extension Present
6 ImageWidth no  
7 ImageHeight no  
8 ImageLength no  

BPG Extensions Tags

Tag IDTag Name WritableValues / Notes
0x0001 EXIF - --> EXIF Tags
0x0002 ICC_Profile - --> ICC_Profile Tags
0x0003 XMP - --> XMP Tags
0x0004 ThumbnailBPG no  
0x0005 AnimationControl? no  

(This document generated automatically by Image::ExifTool::BuildTagLookup)
Last revised Oct 24, 2018

<-- ExifTool Tag Names