Linux memo

  • Convert pdf to png (one page of pdf, one png):
    pdftoppm -png [pdf file name] [png file name prefix]
    
    From https://askubuntu.com/a/50180
  • Convert all jpg in one directory to pdf (one jpg, one page of pdf):
    convert *.jpg [Output pdf name]
    
  • Combine multiple pdf to one pdf:
    pdftk [First pdf name] ... [Last pdf name] cat output [Output pdf name]
    

Comments

Popular posts from this blog

Latex memo

Stability of steady-state equilibrium for overlapping generation model