HexaPDF test for sample-receipt.pdf

← Back to HexaPDF

Input: sample-receipt.pdf

sample-receipt.pdf first page preview

info

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

Output: sample-receipt--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-receipt.pdf" >"sample-receipt--hexapdf-ruby--info--check.txt"

script

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