You are not logged in.

  • Index
  •  » General Help
  •  » [RESOLVED] GRRLIB_ScrShot output does not contain hole screen

#1 2009-03-07 19:13:29

wplaat
Member

[RESOLVED] GRRLIB_ScrShot output does not contain hole screen

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

 

#2 2009-03-07 19:22:05

NoNameNo
Administrator

Re: [RESOLVED] GRRLIB_ScrShot output does not contain hole screen

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 wink )

Offline

 

#3 2009-03-07 20:26:16

wplaat
Member

Re: [RESOLVED] GRRLIB_ScrShot output does not contain hole screen

Ho NoNameNo,

No difference with the normal (wide screen disabled) tv mode. Still missing the lower part of the png image.

Willem

Offline

 

#4 2009-03-07 20:48:14

Xane
Member

Re: [RESOLVED] GRRLIB_ScrShot output does not contain hole screen

PAL / NTSC? 50hz / 60hz?
There are so many different video modes.. but you can try the following:

In the GRRLIB.c, find this line:

Code:

ErrorCode = PNGU_EncodeFromYCbYCr(pngContext, 640, 480, xfb[fb], 0);

and change it to:

Code:

ErrorCode = PNGU_EncodeFromYCbYCr(pngContext, rmode->fbWidth, rmode->efbHeight, xfb[fb], 0);

Offline

 

#5 2009-03-07 21:57:41

wplaat
Member

Re: [RESOLVED] GRRLIB_ScrShot output does not contain hole screen

Hi Xane,

I am using PAL 50hz tv mode. I will try tomorrow your idea. Good Night!

wplaat

Offline

 

#6 2009-03-08 17:44:54

wplaat
Member

Re: [RESOLVED] GRRLIB_ScrShot output does not contain hole screen

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

 

#7 2009-03-25 11:18:00

spiffen
Member

Re: [RESOLVED] GRRLIB_ScrShot output does not contain hole screen

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

 
  • Index
  •  » General Help
  •  » [RESOLVED] GRRLIB_ScrShot output does not contain hole screen

Board footer

Powered by FluxBB