Since I have not received any feedback from the EDK2 team with regard for plans
to standardize an image build format, similar to .uni, I am putting forth this
proposal so that implementations which are moving ahead of EDK2 will not be
blind-sided:
Image Definition File (.idf)
Introduction
This file format is used to describe UEFI HII image packages. It acts as an
analog to the .uni file format that is used to describe UEFI HII string
packages.
The image definition file is composed of carriage-return delimited lines.
Comments are introduced with the '#' character and are terminated by the end of
the line. The following table summarizes the commands in the image definition
file:
Command
Description
#image [#id integer] identifier "file-name"
Generate a bitmap image from the file specified by file-name.
#jpeg [#id integer] identifier|integer "file-name"
Generate a JPEG image from the file specified by file-name.
#include "file-name"
Include another .idf file.
If #id is specified, then the image will be assigned the identifier that is
specified by integer. If #id is not specified, then the lowest unused image
identifier that is greater than zero will be assigned to the image.
The build tools will generate the symbol #define identifier with the image
identifier integer value in the file module-nameImgDefs.h. This file can be
used in .c and .vfr files.
For #image, the file-name is a relative path and file name of a file in the
BMP, GIF or PNG format. The director is relative to either the module directory
or the workspace directory
For #jpeg, the file-name is a relative path and file name of a file in the JPG
format. The directory is relative to either the module directory or the
workspace directory.
For #include, the file-name is a relative path and file name of a file in IDF
format. The directory is relative to either the module directory or the
workspace directory.
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
edk2-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-devel