Generate mipmaps of texture downloaded from the web?

I’d say first step would be don’t use JPG. Try PNG.

Then, you have:

and possibly: