Do NOT zealous crop pg-*.jpg ...

Instead, just chop of 40x30 px from left and top respectively.
Apply convert -trim only for codex.jpg