Jump to content

Welcome to MSFN Forum
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. This message will be removed once you have signed in.
Login to Account Create an Account



Photo

WinPE5 background image on UEFI

- - - - -

  • Please log in to reply
1 reply to this topic

#1
Tripredacus

Tripredacus

    K-Mart-ian Legend

  • Supervisor
  • 10,532 posts
  • Joined 28-April 06
  • OS:Windows 7 x86
  • Country: Country Flag

Donator

A question came up about the background image in the Win8x PEs v4 and 5. In previous versions it was just a wallpaper type design but in PE4/5 it is a blue square that is either set to tile or stretch. Has anyone done any testing with getting a custom image to display and display properly?
 
With PE4+ we can do a UEFI boot. Any PC that has GOP capable video will do automatic scaling of the display resolution which causes a headache for getting static background images to look correct. Even in the Gimagex HTA, the HTA background doesn't conform to the HTA itself on widescreen displays when booted UEFI.
 
I did a small test to see if it was indeed no longer possible, as an MSFT CSG stated on Technet. Well it is definately possible! I only did the UEFI test so far and at least in that mode I believe it uses a "stretch" mode for the winpe.jpg. Here are those results:
 
2014-05-08113233_zps4762d79e.jpg
 
The original image ix 357x500 and it looks like the PE is designed to only accept a square image. It stretched it to the screen width but did a proportional resize. The top and bottom of the image are outside the boundaries of the screen.
 
Spoiler


EDIT: I did a legacy test. It seems that using a square image would be best. I minimized the cmd window so I wouldn't have to edit out the connection strings.

2014-05-08163658_zpsa6dff56a.jpg

Edited by Tripredacus, 03 February 2016 - 03:37 PM.

MSFN RULES | GimageX HTA for PE 3-5 | lol probloms
office2016_sig_zps5dackl2h.jpg


How to remove advertisement from MSFN

#2
Tripredacus

Tripredacus

    K-Mart-ian Legend

  • Supervisor
  • 10,532 posts
  • Joined 28-April 06
  • OS:Windows 7 x86
  • Country: Country Flag

Donator

I was looking at this again and found some interesting things. My original idea that a square image being required seems to not be correct. I found a curious thing.

On 16:9 displays the vertical resolution of the winpe.jpg is (approx) 270px. I used an image with shapes to determine this size. Then I checked with the cat image from above, and yep 270px again. I'm eyeballing what is actually displayed vs the original image with a marquee tool. So I have 2 different source images, with one having multiple resizes, that are showing the same height.
It would also appear that either the horizontal doesn't matter, or that if the horizontal is less than x size then it will stretch.

If you look at the 2 images above, I did 2 tests.
Legacy boot on 16:9 display
UEFI boot on 4:3 display

The 4:3 you can see more on the vertical, closer to 290px.

WinPE's winpe.jpg seems to fit nicely in 480x270, which is also the resolution of the Sony PSP.
MSFN RULES | GimageX HTA for PE 3-5 | lol probloms
office2016_sig_zps5dackl2h.jpg




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users