• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
MagicMirror Forum
  • Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.

add pdf to magicmirror

Scheduled Pinned Locked Moved Unsolved Development
2 Posts 1 Posters 698 Views 1 Watching
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Offline
    chassain 0
    last edited by Feb 20, 2020, 9:09 PM

    Hello,

    i wanted add some pdf on my magicmirror but it seems complicate. after some research i found a solution. it works well for me. Here the explication.

    Alternatively, 2JPEG offers advanced solutions for converting PDF to JPG using the command line. The software can be used for converting tons of your documents. It is good enough to be installed on any computer, server or a workstation.

    https://www.2jpeg.com/. Then click Win+R, type command line like you see below and click Enter to run converting PDF file to JPG.

    2jpeg.exe -src “C:\In*.pdf” -dst “C:\Out” -oper Rasterize res:300

    2JPEG will convert files of practically every type including PDF to JPEG. The program is equipped with additional features, for example, it’s possible to place a watermark on images, crop the images, rotate them, etc. Here is the full list of 2JPEG command line features.

    1 Reply Last reply Reply Quote 0
    • C Offline
      chassain 0
      last edited by Feb 21, 2020, 5:45 PM

      hello,

      more informations for anyone if i can help.

      here my “test.bat” :
      The first action is to convert pdf to jpg (only page 1 and more options like remove source, rotate,…) on my desktop folder.
      the second to delete files from destination before the third action to copy all files from desktop folder to raspberry

      echo off
      cls

      2jpeg.exe -src “*.pdf” -dst “C:\Users\W-7\Desktop\immo” -options pages:“1” overwrite:yes delsrc:yes -oper Rotate angle:180

      echo For more examples please look at:
      echo http://www.2jpeg.com/overview/2jpeg-command-line-syntax

      pause

      del \@IP_Raspberry\Partage2*.* /s /q

      pause

      XCOPY C:\Users\W-7\Desktop\immo*jpg \@IP_Raspberry\Partage2 /s /h /Y

      1 Reply Last reply Reply Quote 0
      • 1 / 1
      1 / 1
      • First post
        1/2
        Last post
      Enjoying MagicMirror? Please consider a donation!
      MagicMirror created by Michael Teeuw.
      Forum managed by Sam, technical setup by Karsten.
      This forum is using NodeBB as its core | Contributors
      Contact | Privacy Policy