8. One or more non-transitory computer-readable media storing computer-executable instructions that, when executed, cause one or more processors to perform acts comprising: receiving an electronic document comprising hypertext markup language (HTML) code, body text, and a first raster graphics (RG) image including text-based content, the HTML code providing a format of the body text and the first RG image of the electronic document; identifying one or more textual attributes within the first RG image, the one or more textual attributes including one or more break points located in the text-based content of the first RG image; designating the first RG image for conversion to a vector graphics image (VG image) based at least in part on the identifying of the one or more textual attributes; converting the first RG image to the VG image; determining a body size of a reference character that is located in the VG image; determining a baseline of the VG image relative to the text-based content; segmenting the VG image at the one or more break points to create VG image segments; storing each of the VG image segments as separate but related VG image portions; identifying a second RG image included in the electronic document; determining that the second RG image is free from inclusion of text-based content; preserving the second RG image by refraining from converting the second RG image to a second VG image; and transmitting the electronic document comprising the VG image, the second RG image, and the HTML code to a viewing device for display, wherein the body size and the baseline enable the viewing device to resize and position the text-based content in the VG image to align with adjacent HTML text in the electronic document, and wherein the VG image portions enable the viewing device to reflow at least a portion of the text-based content.
14. The one or more non-transitory computer-readable media as recited in claim 8 , wherein the acts further comprise identifying, prior to the converting, the text-based content in the first RG image based at least in part on a tag associated with the first RG image, color analysis of the first RG image, or a known shape identified in the first RG image.