You are not logged in.

#1 2009-04-18 00:21:15

Obli
Member

[RESOLVED] Png limitations

Hello !

I was wondering why there is a limitation on png images for their dimensions to be a multiple of 4 ?
Is  this a limitation from the hardware acceleration of the Wii or from some library ?

In any case, is there a way to resize an image ? For example, by removing some pixels from the buffer ?

Offline

 

#2 2009-04-18 16:00:11

NoNameNo
Administrator

Re: [RESOLVED] Png limitations

hi,

in fact it's a GX restriction, since your texture is divided in a matrix of 2x2 textel  to be displayed/maped you will need a mul of 4 wink

now you can easily forget about this restriction since you just have to add missing lines or row (to get a mul of 4) using a full transparent color using your fav drawing software (gimp is really easy to handle this things)

ie you can have a texture of only one pixel (create a full transparent 4x4 png, and draw your pixel on the top left corner)

if you need more info, just ask wink

NoNameNo

Offline

 

Board footer

Powered by FluxBB