@jedaisoulFeb 24.2016 — #Hi and welcome to the site.
1. Why do you want to turn the text into an image? Most images on the web are in JPG format, which is lossy and not well suited to displaying text. GIF is better in that respect. Either way, text can reformat responsively to suit a wide range of device displays. Images are more limited in this respect.
2. Why do you want to use JS to achieve this? You can create an image file from text using many graphic editors by either importing or using screen capture.
3. Scrolling is not a problem for either text or images. If you want the scroll to be automated, you might want to consider using a GIF animation (like my avatar). These can be heavily optimized, particularly if you need only a few colors, and they support transparency. Alternatively, there are plenty of carousel plug-ins depending upon the technology used to build the web page. Or you could write your own in JS, if you know how. But if you knew how, you probably would not have asked the question. So I'm a little lost as to why you are asking???
@rootFeb 24.2016 — #IDk about JPG being lossy, most image formats have lossy issues, PNG is a less lossy format, gif always has posed a security issue because of embedded code that can be executed on the host machine.
I figure that the OP is looking to protect their works by using an imnage format.
If you want to use an image format and have a web server produce it, then you need to look in the PHP forum or you could try a HTML5 Canvas (JavaScript)