Skip to content

Instantly share code, notes, and snippets.

@zhenniuxing
zhenniuxing / pdftoimage
Last active Apr 16, 2019
using pdf.js implement pdf to image and support for non-latin characters
View pdftoimage
<html>
<body>
<canvas id="the-canvas" style="border:1px solid black"></canvas>
<script type="text/javascript" src="https://unpkg.com/pdfjs-dist@2.0.943/build/pdf.js"></script>
<script type="text/javascript">
You can’t perform that action at this time.