[if gte mso 9]>

Re: [edk2] Proposed Syntax for .idf (Image Definition File) format.

Subject: Re: [edk2] Proposed Syntax for .idf (Image Definition File) format.

From: Tim Lewis <tim.lewis@insyde.com>

To: "edk2-devel@lists.sourceforge.net" <edk2-devel@lists.sourceforge.net>, Ifan Llwyd <ifan.llwyd@yahoo.co.uk>

Date: 2012-08-30 05:15:35

Samer

 

The HII database has a specific separate record type for JPEG files. It is possible that #image could support jpeg also and would convert it into the HII bitmap record type. But we need some tag to explicitly state that it will create a JPEG record.

 

Tim

 

From: El-Haj-Mahmoud, Samer [mailto:samer.el-haj-mahmoud@hp.com]
Sent: Wednesday, August 29, 2012 11:07 AM
To: Ifan Llwyd; edk2-devel@lists.sourceforge.net
Subject: Re: [edk2] Proposed Syntax for .idf (Image Definition File) format.

 

Tim,

 

Thank you for proposing this. It would be nice to add something similar to build HII Font packages and Keyboard Layout packages as well.

 

In UNI files, a // is used for comments, while # is used for tag definitions, such as #string, #language, and #langdef

 

Also, any reason the #jpeg construct is different from #image, since #image can be a BMP, GIF, or PNG files? Why not just use #image for JPG files as well?

 

Thanks,

--Samer

 

 

From: Ifan Llwyd [mailto:ifan.llwyd@yahoo.co.uk]
Sent: Wednesday, August 29, 2012 12:14 PM
To: edk2-devel@lists.sourceforge.net
Subject: Re: [edk2] Proposed Syntax for .idf (Image Definition File) format.

 

Hi Tim.

This may be naive, as I am not at all familiar with HII, nor .idf.

However given that "Comments are introduced with the # character " then the keywords "#image", etc seem an unfortunate choice.  Have I missed something?

 

 

From: Tim Lewis <tim.lewis@insyde.com>
To: "edk2-devel@lists.sourceforge.net" <edk2-devel@lists.sourceforge.net>
Sent: Wednesday, 29 August 2012, 8:53
Subject: [edk2] Proposed Syntax for .idf (Image Definition File) format.

...

 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.

 ...