Getting the background of an html page to a texture in unity?

Right so im not really new to unity but i know nothing about webpages and server stuff

but im wondering if theres a way i can make a texture in unity that loads the background image from redditp.com?

im aware of the WWW.LoadImageIntoTexture command but that only works for .jpg. is there a way i can write a script that does this?

Almost everything is possible, with a lot of work :stuck_out_tongue:

HTML is a simple text file, you need to parse, find the image, resolve its url and load as texture.

There is many ways to create a background image, using directly url or css (yes, one more thig to learn). Will need some hacks, but it should work.

Learn HTML and CSS