Generate SVG that enables users to search for and select text within images.
By using the generated SVG, textual information embedded in an image can be exposed to the DOM, making it possible for users to perform text searches or copy text in much the same way as they would with normal text content.
Example:
Use Cases
The generated SVG can be especially effective in the following situations:
-
Documentation pages that use screenshots of diagrams or
tables
Text within these screenshots can also be included in searchable content. -
Tutorial or guide pages relying heavily on screenshots
Even if UI labels or instructions are embedded in the image, users can quickly find the information they need through built-in text search. -
Landing pages with many infographics
By placing images easily and enabling text search, it can greatly improve user convenience.