Make Texture Power of 2 at rumtime


textures imported into unity get automatically resized to be a power of 2.
If I load a texture with the www class however the texture has its original format.
Is there a way to convert the texture to be a power of 2 also at runtime?
All I found in the forums were questions where people wanted the exact oposite :stuck_out_tongue:

Thx in advance!

Found an answer myself: