HexaPDF test for sample-catalog.pdf

← Back to HexaPDF

Input: sample-catalog.pdf

sample-catalog.pdf first page preview

info

hexapdf info "sample-catalog.pdf" >"sample-catalog--hexapdf-ruby--info.txt"

Output: sample-catalog--hexapdf-ruby--info.txt

Loading preview…

--check: also validates the file for parse/structural errors, alongside the plain info dump above.

hexapdf info --check "sample-catalog.pdf" >"sample-catalog--hexapdf-ruby--info--check.txt"

script

./tests/hexapdf.rb "sample-catalog.pdf" "sample-catalog--hexapdf-ruby--script.txt"