gopdfrab 1.3.0: nothing lost quietly, smaller binaries
Conversion reports what it removes, stops corrupting shared streams, and keeps more figures as vectors.
Conversion no longer drops content silently or writes broken files it calls conformant. Binaries are smaller and conversion is faster.
Nothing lost quietly
- Removed embedded files and forbidden annotations are now reported.
- Hidden layers (a draft watermark, say) used to become visible. They are now removed and reported.
- A repair to a stream or font file shared by several objects now reaches all of them, instead of leaving a corrupt file marked conformant.
Fewer pages turned into pictures
- Empty transparency groups, common around chart labels, are removed instead of rasterized.
- Flattened transparency looks closer to the original.
Smaller and faster
- Binaries are about 1 MB smaller, since the Arlington model now ships as 17.5 KB of data.
- Conversion is about 15% faster on files with many objects.
- New
github.com/voidrab/gopdfrab/verifypackage for programs that only validate. Its WebAssembly build is 6.2 MB instead of 15.1 MB. - Issues repeated across a page are folded into one, with a count.
Upgrading
Code still compiles. Issue counts drop because repeats are folded. CheckByClause and ChecksForClause are deprecated in favour of CheckByClauseIn and ChecksForClauseIn, which take the level. See profiles and the changelog.