Check book images with AI
Look for illustrations lost during conversion, distinguish absent and empty alt text and compare the source artwork with the EPUB in reading order.
Before a cookbook goes to the printer, you can check book images with AI to find out whether its digital editions still include the photograph beside each recipe. A valid EPUB can open perfectly well with several pictures missing. The book-format-integrity skill gives an agent a local census tool and a set of visual checks for that handover.
A count is a first pass. Two editions can contain fifteen images each and put the same picture beside different recipes. The optional order comparison uses the source HTML, its image directory and the EPUB. A transformed or recompressed file may look the same while returning a different fingerprint.
What it does
- Count raster images in the print PDF and compare the totals with EPUB and Word.
- Find images lacking an alt attribute and examine deliberately empty descriptions separately.
- Locate the first byte-level mismatch between source images and the EPUB.
- Flag unusually low embedded PDF image resolution for inspection.
- Read the page around a flagged picture to verify its caption and placement after reflow.
Install and use
- Provide authorised book files, a file-capable agent and Python. The PDF check requires Poppler’s pdfimages utility.
- Ask “Check these editions of our exhibition catalogue. I have included the source HTML and its artwork folder for an order check.”
- Review discrepancies in a reader or viewer, particularly illustrations next to section breaks and captions.
FAQ
Source
Made by Gabe at The Quiet Ai. Original skill: book-format-integrity, published on GitHub under the MIT licence.
View on GitHub