Name
TianoCompress.exe – encode or decode a file
Synopsis
TianoCompress.exe –e|-d [-v | -q | --debug] [-o <OutputFile>] <InputFile>
TianoCompress.exe –h
TianoCompress.exe --version
Description
TianoCompress tool encodes or decodes files with the EFI extension encode or decode algorithm. When the “-e” option is specified in command line, the tool will encode the input file with EFI extension encode algorithm; when “-d” option is specified in the command line, the tool will decode the input file with EFI extension decode algorithm. When decoding a file, the tool performs some rudimentary checking on the input files to verify that they were compressed by the EFI extension algorithm. These checks include: 
    Checking the input file header (8 bytes header); 
    Checking the first 4 bytes is component size (not usable); 
    Checking the following 4 bytes are the original size of the input file size and that it is the decompressed file size. 
The tool does not perform any checking when encoding the file..
Options
If no options are specified, tool prints usage.
-e
     Encode the input file, which means to compress the input file
-d
      Decode the input file, which means to decompress the input file
-o, --output Filename
      The file containing encoded or decoded content of input file
--version
	Print version and copyright of this program and exit
-v, --verbose
Enable verbose output with informational messages printed. This is a count value, so specifying –v can be used to increase the verbosity level.
-q, --quiet
	Disable all messages except FATAL ERRORS
--debug [0-9]
	Enable debug messages. nly 0-9 Level is supported.
-h, --help
	Print copyright, version and usage of this program and exit
Status codes returned
STATUS_SUCCESS 	0	The action was completed as requested.	
STATUS_ERROR 		2	The action failed.	
Example
1. Encode the input file “file.efi” and specify the output file name with “file.tiano
TianoCompress –e –o file.tiano file.efi
2. Decode the input file “file.tiano” and specify the output file name with “file.orig”
TianoCompress –d –o file.orig file.tiano
3. Decode the input file "file.tiano" in the quiet mode and specify the output file name with "file.orig"
TianoCompress –d -q –o file.orig file.tiano
Bugs
No known issues.
Report bugs to edk2-devel@lists.01.org
Files
None
See also
None
License
Copyright (c) 1999 - 2011, Intel Corporation. All rights reserved.
This program and the accompanying materials are licensed and made available 
under the terms and conditions of the BSD License which accompanies this 
distribution.  The full text of the license may be found at
http://opensource.org/licenses/bsd-license.php

THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.