[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: "Carsey, Jaben" <jaben.carsey@intel.com>

Date: 2012-08-30 05:25:55

Jaben

 

You are correct. I find that incredibly distracting, so was hoping to avoid it with .idf. It seems like an anachronism. None of the .uni files in the EDK2 tree use the / control character.

 

Tim

 

From: Carsey, Jaben [mailto:jaben.carsey@intel.com]
Sent: Wednesday, August 29, 2012 2:22 PM
To: Tim Lewis
Cc: Ifan Llwyd; edk2-devel@lists.sourceforge.net; Carsey, Jaben
Subject: RE: [edk2] Proposed Syntax for .idf (Image Definition File) format.

 

Tim,

 

I think that the actual control character of UNI files is a single forward slash /, and that most of the files have a line like this /=# to change the character to #.

 

-Jaben

 

From: Tim Lewis [mailto:]
Sent: Wednesday, August 29, 2012 2:16 PM
To: edk2-devel@lists.sourceforge.net; Ifan Llwyd
Subject: Re: [edk2] Proposed Syntax for .idf (Image Definition File) format.

 

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.

 ...