I am very new to OpenGL ES. To my understanding openGL ES only allows power of two sized images for textures (eg 512*512 or 256*256 etc...). I am looking for a way to display images of different sizes as textures but they are not power of 2 sized and their size varies.
The pictures will be downloaded from the internet. Resizing them before downloading is out of the question.
Is there a way to use non POT sized images for textures? Do I have to create a method to resize them? Is there a library out there somewhere that does that?
The textures will be applied to rectangles using the library min3d: http://code.google.com/p/min3d/ thks!
EDIT:
example of texture loading from resources:
InputStream is =getResources().openRawResource(R.drawble.drawable1);
Bitmap bitmap;
bitmap = BitmapFactory.decodeStream(is);