* How to add images to HiiDatabase.
@ 2017-08-08 12:30 Amit kumar
2017-08-08 13:50 ` Zhu, Yonghong
0 siblings, 1 reply; 4+ messages in thread
From: Amit kumar @ 2017-08-08 12:30 UTC (permalink / raw)
To: edk2-devel@lists.01.org
Hi ,
Can somebody tell me how to add images to hiidatabase . I have image.png file and a image.idf file.
Is there something than has to be done during compilation ? like Vfr ?
can i use HiiAddPackages ?
Thanks And Regards
Amit Kumar
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: How to add images to HiiDatabase.
2017-08-08 12:30 How to add images to HiiDatabase Amit kumar
@ 2017-08-08 13:50 ` Zhu, Yonghong
2017-08-08 17:28 ` Amit kumar
0 siblings, 1 reply; 4+ messages in thread
From: Zhu, Yonghong @ 2017-08-08 13:50 UTC (permalink / raw)
To: Amit kumar, edk2-devel@lists.01.org
The IMAGE_TOKEN should be used in the source file.
You can refer edk2/MdeModulePkg/Logo
Best Regards,
Zhu Yonghong
-----Original Message-----
From: edk2-devel [mailto:edk2-devel-bounces@lists.01.org] On Behalf Of Amit kumar
Sent: Tuesday, August 08, 2017 8:31 PM
To: edk2-devel@lists.01.org
Subject: [edk2] How to add images to HiiDatabase.
Hi ,
Can somebody tell me how to add images to hiidatabase . I have image.png file and a image.idf file.
Is there something than has to be done during compilation ? like Vfr ?
can i use HiiAddPackages ?
Thanks And Regards
Amit Kumar
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: How to add images to HiiDatabase.
2017-08-08 13:50 ` Zhu, Yonghong
@ 2017-08-08 17:28 ` Amit kumar
2017-08-09 0:44 ` Bi, Dandan
0 siblings, 1 reply; 4+ messages in thread
From: Amit kumar @ 2017-08-08 17:28 UTC (permalink / raw)
To: Zhu, Yonghong; +Cc: edk2-devel@lists.01.org
i refered edk2/MdeModulePkg/Logo but the problem is how to pass logo.bmp to hiidatabase ?
Amit
On Aug 8, 2017, at 7:20 PM, Zhu, Yonghong <yonghong.zhu@intel.com<mailto:yonghong.zhu@intel.com>> wrote:
The IMAGE_TOKEN should be used in the source file.
You can refer edk2/MdeModulePkg/Logo
Best Regards,
Zhu Yonghong
-----Original Message-----
From: edk2-devel [mailto:edk2-devel-bounces@lists.01.org] On Behalf Of Amit kumar
Sent: Tuesday, August 08, 2017 8:31 PM
To: edk2-devel@lists.01.org<mailto:edk2-devel@lists.01.org>
Subject: [edk2] How to add images to HiiDatabase.
Hi ,
Can somebody tell me how to add images to hiidatabase . I have image.png file and a image.idf file.
Is there something than has to be done during compilation ? like Vfr ?
can i use HiiAddPackages ?
Thanks And Regards
Amit Kumar
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org<mailto:edk2-devel@lists.01.org>
https://lists.01.org/mailman/listinfo/edk2-devel
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: How to add images to HiiDatabase.
2017-08-08 17:28 ` Amit kumar
@ 2017-08-09 0:44 ` Bi, Dandan
0 siblings, 0 replies; 4+ messages in thread
From: Bi, Dandan @ 2017-08-09 0:44 UTC (permalink / raw)
To: Amit kumar, Zhu, Yonghong; +Cc: edk2-devel@lists.01.org
When the driver is loaded, LoadImage() installs EFI_HII_PACKAGE_LIST_PROTOCOL on
the image handle if the image contains HII resource.
So you can get the image package list through HiiPackageListProtocol,
And then add the image package list to HII database through NewPackageList API in Database Protocol.
Thanks,
Dandan
-----Original Message-----
From: edk2-devel [mailto:edk2-devel-bounces@lists.01.org] On Behalf Of Amit kumar
Sent: Wednesday, August 9, 2017 1:29 AM
To: Zhu, Yonghong <yonghong.zhu@intel.com>
Cc: edk2-devel@lists.01.org
Subject: Re: [edk2] How to add images to HiiDatabase.
i refered edk2/MdeModulePkg/Logo but the problem is how to pass logo.bmp to hiidatabase ?
Amit
On Aug 8, 2017, at 7:20 PM, Zhu, Yonghong <yonghong.zhu@intel.com<mailto:yonghong.zhu@intel.com>> wrote:
The IMAGE_TOKEN should be used in the source file.
You can refer edk2/MdeModulePkg/Logo
Best Regards,
Zhu Yonghong
-----Original Message-----
From: edk2-devel [mailto:edk2-devel-bounces@lists.01.org] On Behalf Of Amit kumar
Sent: Tuesday, August 08, 2017 8:31 PM
To: edk2-devel@lists.01.org<mailto:edk2-devel@lists.01.org>
Subject: [edk2] How to add images to HiiDatabase.
Hi ,
Can somebody tell me how to add images to hiidatabase . I have image.png file and a image.idf file.
Is there something than has to be done during compilation ? like Vfr ?
can i use HiiAddPackages ?
Thanks And Regards
Amit Kumar
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org<mailto:edk2-devel@lists.01.org>
https://lists.01.org/mailman/listinfo/edk2-devel
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2017-08-09 0:41 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-08-08 12:30 How to add images to HiiDatabase Amit kumar
2017-08-08 13:50 ` Zhu, Yonghong
2017-08-08 17:28 ` Amit kumar
2017-08-09 0:44 ` Bi, Dandan
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox