Show PDF file on webpage as Carousel with each page as a separate slide
<p>I am facing a challenging assignment - create a slider carousel winch will be displaying separate pages of a single multi-page PDF as a separate slides on
webpage. Check out the image below to get the exact idea of how it supposed to look when its done:</p>

<p><a href="https://i.stack.imgur.com/NT9xv.png" rel="noreferrer"><img src="https://i.stack.imgur.com/NT9xv.png" alt="enter image description here"></a></p>

<p>It has to look like a regular document and shouldn't have any scrollbars, toolbars, zoom buttons and so on. Also, the site will be hosted on local host with no internet, so using external apis such as Google PDF Viewer will not be an option.</p>

<p>As of right now, I see 2 different approaches: embed PDF in each slide or server side conversion of PDF to PNG to display later in slides. I am currently facing some obstacles in both of these approaches:</p>

<p><strong>1) First Approach - Embed PDF</strong></p>

<p>What if I will embed pdf in each slide specifying the <code>page</code> parameter?</p>

<p>I've tried:</p>

<p>a) Plain embed</p>

<p>b) Object</p>

<p>I've used next parameters <code>#page=5&amp;toolbar=0&amp;navpanes=0&amp;scrollbar=0&amp;view=fit</code>with pdf.</p>

<p>The results are pretty much the same:</p>

<p><a href="https://i.stack.imgur.com/RJLsg.png" rel="noreferrer"><img src="https://i.stack.imgur.com/RJLsg.png" alt="enter image description here"></a></p>

<ul>
<li>Chrome doesnt scale the pdf and displays scrollbars as well as some pdf viewer background as well as some zoom buttons on mouseover</li>
<li>Firefox shows toolbars</li>
<li>Ie and Safari both pretty close to what I need, yet showing some dark background of pdf viewer</li>
</ul>

<p>Is it possible there is no cross-browser way to embed raw PDF to make it look seamless like part of the page?</p>

<p><strong>2) Second Approach : Covert PDF to another format (haven't tried these yet)</strong></p>

<p>What if I will convert PDF on server side?</p>

<p>a) Convert to PNG with ImageMagick. Downside - client will have to install ImageMagic and probably Ghostview on a server which I would prefer to avoid if possible.</p>

<p>b) Convert to SWF with PHP SwfTools. Not sure if this will be implemented as expected and plus flash support is on decline, probably not the best of approaches.</p>

<p>So which way should I proceed? I personalty would prefer to keep it as simple as possible...
Did anyone encountered similar issue and can give me an advice?</p>

<p>Please help! </p>