## ZIP Tags

The following tags are extracted from ZIP archives. ExifTool also extracts additional meta information from compressed documents inside some ZIP-based files such Office Open XML (DOCX, PPTX and XLSX), Open Document (ODB, ODC, ODF, ODG, ODI, ODP, ODS and ODT), iWork (KEY, PAGES, NUMBERS), Capture One Enhanced Image Package (EIP), Adobe InDesign Markup Language (IDML), and Electronic Publication (EPUB). The ExifTool family 3 groups may be used to organize ZIP tags by embedded document number (ie. the exiftool `-g3` option).

> Index2 | Tag Name | Writable | Values / Notes
> --- | --- | --- | ---
> 2 | ZipRequiredVersion | N |
> 3 | ZipBitFlag | N |
> 4 | ZipCompression | N |
> 0 = None 1 = Shrunk 2 = Reduced with compression factor 1 3 = Reduced with compression factor 2 4 = Reduced with compression factor 3 5 = Reduced with compression factor 4 6 = Imploded 7 = Tokenized 8 = Deflated 9 = Enhanced Deflate using Deflate64(tm) 10 = Imploded (old IBM TERSE) 12 = BZIP2 14 = LZMA (EFS) 18 = IBM TERSE (new) 19 = IBM LZ77 z Architecture (PFS) 96 = JPEG recompressed 97 = WavPack compressed 98 = PPMd version I, Rev 1
> 5 | ZipModifyDate | N |
> 7 | ZipCRC | N |
> 9 | ZipCompressedSize | N |
> 11 | ZipUncompressedSize | N |
> 15 | ZipFileName | N |

## ZIP GZIP Tags

These tags are extracted from GZIP (GNU ZIP) archives, but currently only for the first file in the archive.

> Index1 | Tag Name | Writable | Values / Notes
> --- | --- | --- | ---
> 2 | Compression | N | 8 = Deflated
> 3 | Flags | N | Bit 0 = Text Bit 1 = CRC16 Bit 2 = ExtraFields Bit 3 = FileName Bit 4 = Comment
> 4 | ModifyDate | N |
> 8 | ExtraFlags | N | 0 = (none) 2 = Maximum Compression 4 = Fastest Algorithm
> 9 | OperatingSystem | N |
> 0 = FAT filesystem (MS-DOS, OS/2, NT/Win32) 1 = Amiga 2 = VMS (or OpenVMS) 3 = Unix 4 = VM/CMS 5 = Atari TOS 6 = HPFS filesystem (OS/2, NT) 7 = Macintosh 8 = Z-System 9 = CP/M 10 = TOPS-20 11 = NTFS filesystem (NT) 12 = QDOS 13 = Acorn RISCOS 255 = unknown
> 10 | ArchivedFileName | N |
> 11 | Comment | N |

## ZIP RAR Tags

These tags are extracted from RAR archive files.

> Index1 | Tag Name | Writable | Values / Notes
> --- | --- | --- | ---
> 0 | CompressedSize | N |
> 4 | UncompressedSize | N |
> 8 | OperatingSystem | N | 0 = MS-DOS 1 = OS/2 2 = Win32 3 = Unix
> 13 | ModifyDate | N |
> 18 | PackingMethod | N |
> 0x30 = Stored 0x31 = Fastest 0x32 = Fast |  | 0x33 = Normal 0x34 = Good Compression 0x35 = Best Compression
> 25 | ArchivedFileName | N |

(This document generated automatically by Image::ExifTool::BuildTagLookup)
Last revised May 26, 2014

<-- ExifTool Tag Names