def create_lenovo_oem_logo(): # 1. Create a blank image (120x120) with a white background # 'RGB' mode is standard for BMP img = Image.new('RGB', (120, 120), color='white') draw = ImageDraw.Draw(img)
Find the string value named . If it doesn't exist, right-click and create a new String Value named Logo .
Save the file to a permanent location, such as C:\Windows\System32\oobe\info\oemlogo.bmp (you may need to create the info folder). 3. Applying the Logo via Windows Registry
def create_lenovo_oem_logo(): # 1. Create a blank image (120x120) with a white background # 'RGB' mode is standard for BMP img = Image.new('RGB', (120, 120), color='white') draw = ImageDraw.Draw(img)
Find the string value named . If it doesn't exist, right-click and create a new String Value named Logo . lenovo oem logo bmp 120x120
Save the file to a permanent location, such as C:\Windows\System32\oobe\info\oemlogo.bmp (you may need to create the info folder). 3. Applying the Logo via Windows Registry def create_lenovo_oem_logo(): # 1