Slim File Sizes Now Checks Every Page, Not Just the Text
pdf-compress.sh renders each page before and after and refuses a result where any page looks different, so image-heavy decks can't come out with blank slides or missing pictures.
What changed
pdf-compress.shchecks that the page count is unchanged, renders every page of the original and the result in gray at thumbnail size, and compares them. If any page differs by more than 0.06 RMSE (--max-diffto change it), it writes nothing, exits 5 and names the pages.The skill documents exit 5 and says to keep the original when it happens.
Why
The text check couldn't see pictures. An earlier pass damaged two founder decks that are almost all images: whole slides came out blank, a photo went missing, and a block covered three slides. Both passed because their text, a few dozen characters, survived. Run against one of those originals, the new check refuses the result and names slides 3 and 11.
