Page 1 of 1

Pixel Aspect Ratio in Offscreen rendering

PostPosted: Fri Mar 11, 2016 2:29 am
by videoaudio
Hi,

What is the pixel aspect ratio (https://en.wikipedia.org/wiki/Pixel_aspect_ratio) in output image (::onPait() output RGB buffer) in CEF offscreen rendering mode?

So far I am assuming it as 1 and pixels are square in nature.

is it safe to assume?
or any html setting also needed for it to be 1.

Thanks in advance.

Re: Pixel Aspect Ratio in Offscreen rendering

PostPosted: Fri Mar 11, 2016 4:05 pm
by magreenblatt
Pixels will be square by default, but you can probably get all kinds of strange results by changing the values returned from CefRenderHandler::GetScreenInfo().

Re: Pixel Aspect Ratio in Offscreen rendering

PostPosted: Mon Mar 14, 2016 3:02 am
by videoaudio
I want them to be square most of the times.

Thanks @magreenblatt.