The ecosystem would be greatly improved if someone made a great (probably rust based) in-memory low level pdf reading and writing data structure.