2 HII Image Packs

EDK II Image Description files used for creating HII Image Packs have the following format in EBNF:

<ImageDefFileFormat> :: = <CommentLines>*
                          <Content>+
<CommentLines>       :: = "//" <AsciiString> <EOL>
<AsciiString>        :: = [ <TS>* <AsciiChars>* ]*
<AsciiChars>         ::= (0x21 - 0x7E)
<EOL>                ::= <TS> 0x0D 0x0A
<TabSpace>           ::= {<Tab>} {<Space>}
<TS>                 ::= <TabSpace>*
<MTS>                ::= <TabSpace>+
<Content>            ::= {<BlankLine>} {<ImageLine>}
<BlankLine>          ::= <EOL>
<ImageLine>          ::= <TS> "#image" <ImageID> [<TRANS>] <Filename> <EOL>
<ImageID>            ::= <MTS> (a-zA-Z)(a-zA-Z0-9_)*
<TRANS>              ::= <MTS> "TRANSPARENT"
<Filename>           :: =<MTS> <Word> ["." <Extension>]
<Word>               ::= (a-zA-Z0-9_)(a-zA-Z0-9_-,)*
<Extension>          ::= (a-zA-Z0-9_-)+

2.1 Definitions

Filename

Alphanumeric characters with optional period ".", dash "-" and/or underscore "_" characters. A period character may not be followed by another period character. No whitespace characters are permitted.

2.2 Example

//  The Image definition file
//
// Copyright (c) 2017, Intel Corporation. All rights reserved.<BR>
// This program and the accompanying materials are licensed and made available under
// the terms and conditions of the BSD License that 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.
//

#image IMG_LOGO       TRANSPARENT  Logo.bmp
#image IMG_FULL_LOGO               Logo.jpg
#image IMG_OEM_LOGO                Logo.png