This is too much for my small brain
> This explains why your screen shot is 256x224 but the "resolution" is 768x224. The > screen shot is the actual pixel-by-pixel screen dump, the resolution is including all > the timing information (we're going by the 18.342 MHz "master clock" (in the info > case the pixel clock), which is divided by three to provide a 6.144 MHz signal that > drives the video logic, described as "pixel clock" in the driver. What is 256 times > 3? 768.
I saw the 256 - 768 relation, but the why is still not clear.
To explain why I want to know:
I made and host http://www.mamescore.net where players can submit their high scores and add a little bit of competition to the fun of playing MAME. As part of the high score validation, players must submit a screenshot of the high score (done with F12). To display the screen shots I take the width and height attributes of the display tag. (actually, I inserted all the information in a database). In the past, this information was like this:
< video screen="raster" orientation="vertical" width="224" height="256" aspectx="3" aspecty="4" refresh="60.606060"/ >
And it was easy to get the width and the height, but now my windows sometimes look weird.
So, although the technical stuff is very interesting, I don't need it for my problem. I need a 'simple' equation to calculate the 'normal' width and height of a screenshot.
Edited by BartA (05/06/08 12:27 PM)
|