Imagemagick: generate raw image data for PDF flate embedding?
问题 I'm trying to come up with a command-line, source code example of a PDF ( see also How to generate plain-text source-code PDF examples that work in a document viewer? ), but with embedding an image. This is how far I got - I have a template hello.pdf : %PDF-1.4 1 0 obj << /Type /Catalog /Outlines 2 0 R /Pages 3 0 R >> endobj 2 0 obj << /Type /Outlines /Count 0 >> endobj 3 0 obj << /Type /Pages /Kids [ 4 0 R ] /Count 1 >> endobj 4 0 obj << /Type /Page /Parent 3 0 R /MediaBox [ 0 0 612 792 ]