## MNG Tags

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

## MNG Background Tags

> Index1 | 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 Mandatory
> 7 | BackgroundImageID | N |
> 9 | BackgroundTiling | N | 0 = No 1 = Yes

## MNG BasisObject Tags

> Index1 | 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 Alpha
> 10 | Compression | N | 0 = Deflate/Inflate
> 11 | Filter | N | 0 = Adaptive
> 12 | Interlace | N | 0 = Noninterlaced 1 = Adam7 Interlace
> 13 | RedSample | N |
> 17 | GreenSample | N |
> 21 | BlueSample | N |
> 25 | AlphaSample | N |
> 26 | Viewable | N |

## MNG ClipObjects Tags

> Index1 | Tag Name | Writable | Values / Notes
> --- | --- | --- | ---
> 0 | FirstObject | N |
> 2 | LastObject | N |
> 4 | DeltaType | N | 0 = Absolute 1 = Relative
> 5 | ClipBoundary | N |

## MNG CloneObject Tags

> Index1 | Tag Name | Writable | Values / Notes
> --- | --- | --- | ---
> 0 | SourceID | N |
> 2 | CloneID | N |
> 4 | CloneType | N | 0 = Full 1 = Parital 2 = Renumber object
> 5 | DoNotShow | N |
> 6 | ConcreteFlag | N |
> 7 | LocalDeltaType | N | 0 = Absolute 1 = Relative
> 8 | DeltaXY | N |

## MNG DefineObject Tags

> Index1 | Tag Name | Writable | Values / Notes
> --- | --- | --- | ---
> 0 | ObjectID | N |
> 2 | DoNotShow | N |
> 3 | ConcreteFlag | N |
> 4 | XYLocation | N |
> 12 | ClippingBoundary | N |

## MNG DeltaPNGHeader Tags

> Index1 | Tag Name | Writable | Values / Notes
> --- | --- | --- | ---
> 0 | ObjectID | N |
> 2 | ImageType | N | 0 = Unspecified 1 = PNG 2 = JNG

> 3

> 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 Change |

> 4 | BlockSize | N |
> 12 | BlockLocation | N |

## MNG JNGHeader Tags

> Index1 | Tag Name | Writable | Values / Notes
> --- | --- | --- | ---
> 0 | ImageWidth | N |
> 4 | ImageHeight | N |
> 8 | ColorType | N | 8 = Gray 10 = Color 12 = Gray Alpha 14 = Color Alpha
> 9 | BitDepth | N |
> 10 | Compression | N | 8 = Huffman-coded baseline JPEG
> 11 | Interlace | N | 0 = Sequential 8 = Progressive
> 12 | AlphaBitDepth | N |
> 13 | AlphaCompression | N | 0 = MNG Grayscale IDAT 8 = JNG 8-bit Grayscale JDAA
> 14 | AlphaFilter | N | 0 = Adaptive MNG (N/A for JPEG)
> 15 | AlphaInterlace | N | 0 = Noninterlaced

## MNG Loop Tags

> Index1 | 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, cacheable

> 6 | IterationMinMax | N |
> 14 | SignalNumber | N |

## MNG MagnifyObject Tags

> Index1 | 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 Interpolation

> 5 | 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

## MNG MNGHeader Tags

> Index4 | 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 |

## MNG MoveObjects Tags

> Index1 | Tag Name | Writable | Values / Notes
> --- | --- | --- | ---
> 0 | FirstObject | N |
> 2 | LastObject | N |
> 4 | DeltaType | N | 0 = Absolute 1 = Relative
> 5 | DeltaXY | N |

## MNG PasteImage Tags

> Index1 | Tag Name | Writable | Values / Notes
> --- | --- | --- | ---
> 0 | DestinationID | N |
> 2 | TargetDeltaType | N | 0 = Absolute 1 = Relative
> 3 | TargetXY | N |
> 11 | SourceID | N |
> 13 | CompositionMode | N | 0 = Over 1 = Replace 2 = Under
> 14 | Orientation | N | 0 = Same as source 2 = Flipped left-right, then up-down 4 = Flipped left-right 6 = Flipped up-down 8 = Tiled
> 15 | OffsetOrigin | N | 0 = Desination Origin 1 = Target Origin
> 16 | OffsetXY | N |
> 24 | BoundaryOrigin | N | 0 = Desination Origin 1 = Target Origin
> 25 | PastClippingBoundary | N |

## MNG PromoteParent Tags

> Index1 | Tag Name | Writable | Values / Notes
> --- | --- | --- | ---
> 0 | NewColorType | N |
> 1 | NewBitDepth | N |
> 2 | FillMethod | N | 0 = Bit Replication 1 = Zero Fill

## MNG ShowObjects Tags

> Index1 | Tag Name | Writable | Values / Notes
> --- | --- | --- | ---
> 0 | FirstObject | N |
> 2 | LastObject | N |
> 4 | ShowMode | N |

## MNG TerminationAction Tags

> Index1 | Tag Name | Writable | Values / Notes
> --- | --- | --- | ---
> 0 | TerminationAction | N | 0 = Show Last Frame 1 = Display Nothing 2 = Show First Frame 3 = Repeat Sequence
> 1 | IterationEndAction | N | 0 = Show Last Frame 1 = Display Nothing 2 = Show First Frame
> 2 | Delay | N |
> 6 | IterationMax | N |

## MNG ExportImage Tags

> Index1 | Tag Name | Writable | Values / Notes
> --- | --- | --- | ---
> 0 | SnapshotID | N |
> 2 | SnapshotName | N |

## MNG FramePriority Tags

> Index1 | Tag Name | Writable | Values / Notes
> --- | --- | --- | ---
> 0 | DeltaType | N | 0 = Absolute 1 = Relative
> 2 | Priority | N |

(This document generated automatically by Image::ExifTool::BuildTagLookup)
Last revised Oct 25, 2006

<-- ExifTool Tag Names