This table contains definitions for tags found in MNG and JNG images. MNG is a superset of PNG and JNG, so a MNG image may contain any of these tags as well as any PNG tags. Conversely, only some of these tags are valid for JNG images.
Tag ID Tag Name Writable Values / Notes 'BACK' Background - --> MNG Background Tags 'BASI' BasisObject - --> MNG BasisObject Tags 'CLIP' ClipObjects - --> MNG ClipObjects Tags 'CLON' CloneObject - --> MNG CloneObject Tags 'DBYK' DropByKeyword N 'DEFI' DefineObject - --> MNG DefineObject Tags 'DHDR' DeltaPNGHeader - --> MNG DeltaPNGHeader Tags 'DISC' DiscardObjects N 'DROP' DropChunks N 'FRAM' Frame N 'JHDR' JNGHeader - --> MNG JNGHeader Tags 'LOOP' Loop - --> MNG Loop Tags 'MAGN' MagnifyObject - --> MNG MagnifyObject Tags 'MHDR' MNGHeader - --> MNG MNGHeader Tags 'MOVE' MoveObjects - --> MNG MoveObjects Tags 'ORDR' OrderingRestrictions N 'PAST' PasteImage - --> MNG PasteImage Tags 'PPLT' PartialPalette N 'PROM' PromoteParent - --> MNG PromoteParent Tags 'SAVE' SaveObjects N 'SEEK' SeekPoint N 'SHOW' ShowObjects - --> MNG ShowObjects Tags 'TERM' TerminationAction - --> MNG TerminationAction Tags 'eXPi' ExportImage - --> MNG ExportImage Tags 'fPRI' FramePriority - --> MNG FramePriority Tags 'nEED' ResourcesNeeded N 'pHYg' GlobalPixelSize - --> PNG PhysicalPixel Tags
Index Tag Name Writable Values / Notes 0 BackgroundColor N 6 MandatoryBackground N 0 = Color and Image Advisory
1 = Color Mandatory, Image Advisory
2 = Color Advisory, Image Mandatory
3 = Color and Image Mandatory7 BackgroundImageID N 9 BackgroundTiling N 0 = No
1 = Yes
Index Tag Name Writable Values / Notes 0 ImageWidth N 4 ImageHeight N 8 BitDepth N 9 ColorType N 0 = Grayscale
2 = RGB
3 = Palette
4 = Grayscale with Alpha
6 = RGB with Alpha10 Compression N 0 = Deflate/Inflate 11 Filter N 0 = Adaptive 12 Interlace N 0 = Noninterlaced
1 = Adam7 Interlace13 RedSample N 17 GreenSample N 21 BlueSample N 25 AlphaSample N 26 Viewable N
Index Tag Name Writable Values / Notes 0 FirstObject N 2 LastObject N 4 DeltaType N 0 = Absolute
1 = Relative5 ClipBoundary N
Index Tag Name Writable Values / Notes 0 SourceID N 2 CloneID N 4 CloneType N 0 = Full
1 = Parital
2 = Renumber object5 DoNotShow N 6 ConcreteFlag N 7 LocalDeltaType N 0 = Absolute
1 = Relative8 DeltaXY N
Index Tag Name Writable Values / Notes 0 ObjectID N 2 DoNotShow N 3 ConcreteFlag N 4 XYLocation N 12 ClippingBoundary N
Index Tag Name Writable Values / Notes 0 ObjectID N 2 ImageType N 0 = Unspecified
1 = PNG
2 = JNG3 DeltaType N 0 = Full Replacement
1 = Pixel Addition
2 = Alpha Addition
3 = Color Addition
4 = Pixel Replacement
5 = Alpha Replacement
6 = Color Replacement
7 = No Change4 BlockSize N 12 BlockLocation N
Index Tag Name Writable Values / Notes 0 ImageWidth N 4 ImageHeight N 8 ColorType N 8 = Gray
10 = Color
12 = Gray Alpha
14 = Color Alpha9 BitDepth N 10 Compression N 8 = Huffman-coded baseline JPEG 11 Interlace N 0 = Sequential
8 = Progressive12 AlphaBitDepth N 13 AlphaCompression N 0 = MNG Grayscale IDAT
8 = JNG 8-bit Grayscale JDAA14 AlphaFilter N 0 = Adaptive MNG (N/A for JPEG) 15 AlphaInterlace N 0 = Noninterlaced
Index Tag Name Writable Values / Notes 0 NestLevel N 1 IterationCount N 5 TerminationCondition N 0 = Deterministic, not cacheable
1 = Decoder discretion, not cacheable
2 = User discretion, not cacheable
3 = External signal, not cacheable
4 = Deterministic, cacheable
5 = Decoder discretion, cacheable
6 = User discretion, cacheable
7 = External signal, cacheable6 IterationMinMax N 14 SignalNumber N
Index Tag Name Writable Values / Notes 0 FirstObjectID N 2 LastObjectID N 4 XMethod N 0 = No Magnification
1 = Pixel Replication
2 = Linear Interpolation
3 = Closest Pixel
4 = Color Linear Interpolation and Alpha Closest Pixel
5 = Color Closest Pixel and Alpha Linear Interpolation5 XMag N 7 YMag N 9 LeftMag N 11 RightMag N 13 TopMag N 15 BottomMag N 17 YMethod N 0 = No Magnification
1 = Pixel Replication
2 = Linear Interpolation
3 = Closest Pixel
4 = Color Linear Interpolation and Alpha Closest Pixel
5 = Color Closest Pixel and Alpha Linear Interpolation
Index Tag Name Writable Values / Notes 0 ImageWidth N 1 ImageHeight N 2 TicksPerSecond N 3 NominalLayerCount N 4 NominalFrameCount N 5 NominalPlayTime N 6 SimplicityProfile N
Index Tag Name Writable Values / Notes 0 FirstObject N 2 LastObject N 4 DeltaType N 0 = Absolute
1 = Relative5 DeltaXY N
Index Tag Name Writable Values / Notes 0 DestinationID N 2 TargetDeltaType N 0 = Absolute
1 = Relative3 TargetXY N 11 SourceID N 13 CompositionMode N 0 = Over
1 = Replace
2 = Under14 Orientation N 0 = Same as source
2 = Flipped left-right, then up-down
4 = Flipped left-right
6 = Flipped up-down
8 = Tiled15 OffsetOrigin N 0 = Desination Origin
1 = Target Origin16 OffsetXY N 24 BoundaryOrigin N 0 = Desination Origin
1 = Target Origin25 PastClippingBoundary N
Index Tag Name Writable Values / Notes 0 NewColorType N 1 NewBitDepth N 2 FillMethod N 0 = Bit Replication
1 = Zero Fill
Index Tag Name Writable Values / Notes 0 FirstObject N 2 LastObject N 4 ShowMode N
Index Tag Name Writable Values / Notes 0 TerminationAction N 0 = Show Last Frame
1 = Display Nothing
2 = Show First Frame
3 = Repeat Sequence1 IterationEndAction N 0 = Show Last Frame
1 = Display Nothing
2 = Show First Frame2 Delay N 6 IterationMax N
Index Tag Name Writable Values / Notes 0 SnapshotID N 2 SnapshotName N
Index Tag Name Writable Values / Notes 0 DeltaType N 0 = Absolute
1 = Relative2 Priority N