Skip to content

Add "Save all images with HTML index" to the OCR window - #13893

Merged
niksedk merged 1 commit into
mainfrom
claude/ocr-html-index-export
Aug 20, 2026
Merged

Add "Save all images with HTML index" to the OCR window#13893
niksedk merged 1 commit into
mainfrom
claude/ocr-html-index-export

Conversation

@niksedk

@niksedk niksedk commented Aug 20, 2026

Copy link
Copy Markdown
Member

Brings back the SE4 OCR feature that writes every subtitle image as a png plus an index.html showing each image next to its OCR text — useful for proof-reading an OCR run against the original bitmaps.

Reached from the OCR window's subtitle-list context menu: Save all images with HTML index... Pick a folder, and the export writes index.html plus images/0001.png, 0002.png, ... The usual "file saved" dialog comes up afterwards so the page (or its folder) is one click away.

The generated page is a single self-contained file — no external css, js or fonts — so it works straight off the file system. It follows the reader's light/dark preference with a manual Auto/Light/Dark override on top, and adds:

  • a text filter, plus an "only lines without text" filter for spotting images OCR produced nothing for
  • a dark/light/checkerboard image backdrop, since subtitle bitmaps are transparent
  • a click-to-zoom lightbox
  • per-line number, time codes, duration and image size

Related to #13890.

🤖 Generated with Claude Code

Brings back the SE4 OCR feature that writes every subtitle image as a png
plus an index.html showing each image next to its OCR text - useful for
proof-reading an OCR run against the original bitmaps (#13890).

The generated page is one self-contained file (no external css/js/fonts)
so it works straight off the file system. It follows the reader's
light/dark preference with a manual override on top, and adds a text
filter, an "only lines without text" filter, a dark/light/checkerboard
image backdrop and a click-to-zoom lightbox.

Co-Authored-By: Claude Opus 5 <[email protected]>
@niksedk
niksedk merged commit 7146e54 into main Aug 20, 2026
1 check passed
@niksedk
niksedk deleted the claude/ocr-html-index-export branch August 20, 2026 04:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant