From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 7C31721DF9673 for ; Tue, 8 Aug 2017 17:41:57 -0700 (PDT) Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga101.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 08 Aug 2017 17:44:14 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.41,345,1498546800"; d="scan'208";a="1001539644" Received: from fmsmsx106.amr.corp.intel.com ([10.18.124.204]) by orsmga003.jf.intel.com with ESMTP; 08 Aug 2017 17:44:14 -0700 Received: from fmsmsx115.amr.corp.intel.com (10.18.116.19) by FMSMSX106.amr.corp.intel.com (10.18.124.204) with Microsoft SMTP Server (TLS) id 14.3.319.2; Tue, 8 Aug 2017 17:44:14 -0700 Received: from shsmsx152.ccr.corp.intel.com (10.239.6.52) by fmsmsx115.amr.corp.intel.com (10.18.116.19) with Microsoft SMTP Server (TLS) id 14.3.319.2; Tue, 8 Aug 2017 17:44:14 -0700 Received: from shsmsx102.ccr.corp.intel.com ([169.254.2.183]) by SHSMSX152.ccr.corp.intel.com ([169.254.6.135]) with mapi id 14.03.0319.002; Wed, 9 Aug 2017 08:44:12 +0800 From: "Bi, Dandan" To: Amit kumar , "Zhu, Yonghong" CC: "edk2-devel@lists.01.org" Thread-Topic: How to add images to HiiDatabase. Thread-Index: AQHTEECVCruAhj7IZ0esaMhspbgKHKJ6dCuQgABC0gCAAHiDwA== Date: Wed, 9 Aug 2017 00:44:11 +0000 Message-ID: <3C0D5C461C9E904E8F62152F6274C0BB3B9512E2@shsmsx102.ccr.corp.intel.com> References: In-Reply-To: Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] MIME-Version: 1.0 Subject: Re: How to add images to HiiDatabase. X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Aug 2017 00:41:57 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable When the driver is loaded, LoadImage() installs EFI_HII_PACKAGE_LIST_PROTOC= OL on the image handle if the image contains HII resource.=20 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 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 > 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 Subject: [edk2] How to add images to HiiDatabase. Hi , Can somebody tell me how to add images to hiidatabase . I have image.png fi= le 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 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel