Reveal.js

Post tags: | html_presentation_framework | reveal_js |

Reveal.js - The HTML Presentation Framework

github.com/hakimel/reveal.js

PDF Export

Open your presentation with print-pdf included anywhere in the query string. This triggers the default index HTML to load the PDF print stylesheet (css/print/pdf.css). You can test this with lab.hakim.se/reveal-js?print-pdf.

        file:///home/craig/dev/slides/2016-12-11-life-journey-bible/index.html#/?print-pdf
        

SlideShare

slideshare.net

A LinkedIn Company - use linkedin account

SlideShare Help

superuser.com/questions Using Ghostscript to convert multi-page PDF into single JPG?

I’d start with this:

        gswin32c.exe ^
            -dBATCH ^
            -dNOPAUSE ^
            -dSAFER ^
            -sDEVICE=jpeg ^
            -dJPEGQ=95 ^
            -r600x600 ^
            -sOutputFile=c:/path/to/jpeg-dir/pdffile-%03d.jpeg ^
            c:/path/to/pdffile.pdf
        

This will create JPGs called pdffile-001.jpeg, pdffile-002.jpg etc. The parameter dJPEGQ=95 sets JPEG Quality” to 95%. It uses a resolution of 600x600 dpi. You may need to additionally control the pagesize of the resulting JPGs in case your Ghostscript’s default doesnt fit your needs:

        gswin32c.exe ^
            -dBATCH ^
            -dNOPAUSE ^
            -dSAFER ^
            -sDEVICE=jpeg ^
            -dJPEGQ=95 ^
            -r600x600 ^
            -dPDFFitPage ^
            -dFIXEDMEDIA ^
            -dDEVICEWIDTHPOINTS=800 ^
            -dDEVICEHEIGHTPOINTS=600 ^
            -sOutputFile=c:/path/to/jpeg-dir/pdffile-%03d.jpeg ^
            c:/path/to/pdffile.pdf
        

or

        gswin32c.exe ^
            -dBATCH ^
            -dNOPAUSE ^
            -dSAFER ^
            -sDEVICE=jpeg ^
            -dJPEGQ=95 ^
            -r600x600 ^
            -dPDFFitPage ^
            -dFIXEDMEDIA ^
            -sDEFAULTPAPERSIZE=a4 ^
            -sOutputFile=c:/path/to/jpeg-dir/pdffile-%03d.jpeg ^
            c:/path/to/pdffile.pdf