Yes, but it would be both hard and inefficient to convert HTML objects into Roblox GUI objects. For example, in Roblox, if you were to convert a simple 250x250 static image on a page to a viewable image by converting every pixel to a frame, you would need to render 62,500 objects! An example of this is CloneTrooper1019’s PNG Loader. Since it is rendering the image in 3-D with a heightmap, it needs to render a part for every pixel, since there isn’t a more efficient way of doing it. If you were to render it in 2-D, you would need a frame for every pixel. The HtmlService option would be way more efficient, as standard web browsers can render images very efficiently on the GPU, not by rendering every pixel as a frame like we have to do currently in Roblox. I guess you could potentially save rendering costs by using UIGradients, but that is hacky and still inefficient. Also, Roblox currently has no support for external fonts, it can’t render SVGs, et cetera. Having an HTML integration in GUIs, like an HtmlFrame object, would be nice.
2 Likes