TianoCompress.exe

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.

-o FileName, --output FileName
File will be created to store the ouput content.
-v, --verbose
Turn on verbose output with informational messages.
-q, --quiet
Disable all messages except key message and fatal error
--debug [0-9]
Enable debug messages, at input debug level.
--version
Show program's version number and exit.
-h, --help
Show this help message and exit.

Status codes returned

Return Code

Description

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 [email protected]

Files

None

See also

None

License

Copyright (c) 1999 - 2016, 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.