Generate mipmaps of texture downloaded from the web?

Have you found a solution for that?