You are not logged in.
Hello,
I face the following problem with the GRRLIB_ScrShot() method. I have a wide screen LCD television. When i call the GRRLIB_ScrShot( ) method the output contains a PNG file with 640x480 pixels but i miss the lower part of the screen.
See the following picture as example http://www.plaatsoft.nl/wiibrew/wp-cont … 165333.png
Is this a bug?
wplaat
Last edited by wplaat (2009-03-07 19:16:22)
Offline
can you remove the 16:9 in the wii settings, and retry the screenshot to test ?
(btw join us on efnet it easier to exchange )
Offline
Ho NoNameNo,
No difference with the normal (wide screen disabled) tv mode. Still missing the lower part of the png image.
Willem
Offline
PAL / NTSC? 50hz / 60hz?
There are so many different video modes.. but you can try the following:
In the GRRLIB.c, find this line:
ErrorCode = PNGU_EncodeFromYCbYCr(pngContext, 640, 480, xfb[fb], 0);
and change it to:
ErrorCode = PNGU_EncodeFromYCbYCr(pngContext, rmode->fbWidth, rmode->efbHeight, xfb[fb], 0);
Offline
Hi Xane,
I am using PAL 50hz tv mode. I will try tomorrow your idea. Good Night!
wplaat
Offline
Hi Xane,
Your code adaption works fine. The picture format is now 640x528 pixels and contains the complete screen! Thanks!
wplaat
Last edited by wplaat (2009-03-08 18:10:17)
Offline
What is the difference between:
ErrorCode = PNGU_EncodeFromYCbYCr(pngContext, rmode->fbWidth, rmode->efbHeight, xfb[fb], 0);
And using this:
errorCode = PNGU_EncodeFromYCbYCr(pngContext, rmode->viWidth, rmode->viHeight, xfb[fb], 0);
Offline