gnu@robby:/tmp/tigre$ ls doc_data.txt pg_0004.pdf pg_0009.pdf pg_0014.pdf pg_0019.pdf pg_0024.pdf lt003.pdf pg_0005.pdf pg_0010.pdf pg_0015.pdf pg_0020.pdf pg_0001.pdf pg_0006.pdf pg_0011.pdf pg_0016.pdf pg_0021.pdf pg_0002.pdf pg_0007.pdf pg_0012.pdf pg_0017.pdf pg_0022.pdf pg_0003.pdf pg_0008.pdf pg_0013.pdf pg_0018.pdf pg_0023.pdf gnu@robby:/tmp/tigre$ convert pg_0001.pdf test.png **** Warning: Generation number out of 0..65535 range, assuming 0. **** Warning: File has an invalid xref entry: 2. Rebuilding xref table. **** This file had errors that were repaired or ignored. **** The file was produced by: **** >>>> itext-paulo-155 (itextpdf.sf.net-lowagie.com) <<<< **** Please notify the author of the software that produced this **** file that it does not conform to Adobe's published PDF **** specification. gnu@robby:/tmp/tigre$ file test.png test.png: PNG image, 595 x 780, 16-bit/color RGB, non-interlaced
Any thoughts on this command? Does it work on your machine? Can you do the same thing with only 14 characters?
You must be signed in to comment.
commandlinefu.com is the place to record those command-line gems that you return to again and again. That way others can gain from your CLI wisdom and you from theirs too. All commands can be commented on, discussed and voted up or down.
Every new command is wrapped in a tweet and posted to Twitter. Following the stream is a great way of staying abreast of the latest commands. For the more discerning, there are Twitter accounts for commands that get a minimum of 3 and 10 votes - that way only the great commands get tweeted.
» http://twitter.com/commandlinefu
» http://twitter.com/commandlinefu3
» http://twitter.com/commandlinefu10
Use your favourite RSS aggregator to stay in touch with the latest commands. There are feeds mirroring the 3 Twitter streams as well as for virtually every other subset (users, tags, functions,…):
Subscribe to the feed for:
convert -density 300 example.pdf example.jpg