Image to Text PDF
Turn a finished raster image into a PDF while preserving the image exactly and adding a transparent text layer for selection, copying, and search.
Workflow
- Get the complete image.
- Treat the image as the visual source of truth.
- Keep the original image dimensions; the layout coordinates should use the same pixel coordinate space whenever possible.
- Build a text-layer layout JSON.
- Prefer OCR or a vision model that returns text boxes over trying to infer positio
[Description truncada. Veja o README completo no GitHub.]