<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Chaoxu Wei</title>
    <description>The latest articles on DEV Community by Chaoxu Wei (@chaoxuwei).</description>
    <link>https://dev.to/chaoxuwei</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F1029049%2F2423a858-8553-4d29-89fd-88aac2d100c4.jpeg</url>
      <title>DEV Community: Chaoxu Wei</title>
      <link>https://dev.to/chaoxuwei</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/chaoxuwei"/>
    <language>en</language>
    <item>
      <title>PDF.js annotation library in pure JavaScript. Create and save PDF annotation, (pdf highlight/signature)- pdf.js</title>
      <dc:creator>Chaoxu Wei</dc:creator>
      <pubDate>Sat, 18 Feb 2023 03:47:06 +0000</pubDate>
      <link>https://dev.to/chaoxuwei/pdfjs-annotation-library-in-pure-javascript-create-and-save-pdf-annotation-pdf-highlightsignature-pdfjs-375i</link>
      <guid>https://dev.to/chaoxuwei/pdfjs-annotation-library-in-pure-javascript-create-and-save-pdf-annotation-pdf-highlightsignature-pdfjs-375i</guid>
      <description>&lt;h2&gt;
  
  
  Demo and Source code
&lt;/h2&gt;

&lt;p&gt;Demo and source code: &lt;strong&gt;&lt;a href="https://demos.libertynlp.com"&gt;https://demos.libertynlp.com&lt;/a&gt;&lt;/strong&gt;&lt;br&gt;
the best solution of pdf.js annotation, only use &lt;strong&gt;pdf.js-dist&lt;/strong&gt;, support &lt;strong&gt;old browser, smart phone and mobile device&lt;/strong&gt;, very easy to import into your project.&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--_5H7b2UB--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/zi90zcsw0df0kbfzyzzh.JPG" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--_5H7b2UB--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/zi90zcsw0df0kbfzyzzh.JPG" alt="Image description" width="880" height="495"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;h2&gt;
  
  
  Function
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;① download :&lt;/strong&gt;  save pdf with annotations mark&lt;br&gt;
&lt;strong&gt;② highlight :&lt;/strong&gt;  highlight selected text;&lt;br&gt;
&lt;strong&gt;③ underline :&lt;/strong&gt;  underline selected text;&lt;br&gt;
&lt;strong&gt;④ screenshot:&lt;/strong&gt;  screenshot pdf save as png;&lt;br&gt;
&lt;strong&gt;⑤ polygon:&lt;/strong&gt;  add textbox/arrow/rectangle/circle;&lt;br&gt;
&lt;strong&gt;⑥ free draw:&lt;/strong&gt;  free draw and auto smooth;&lt;br&gt;
&lt;strong&gt;⑦ image:&lt;/strong&gt;  insert image (forexample signature);&lt;br&gt;
&lt;strong&gt;⑧ edit:&lt;/strong&gt;  edit annotation ( copy/delete/add comment/navigate );&lt;br&gt;
&lt;strong&gt;⑨ output annotations :&lt;/strong&gt;  output annotations for importing;&lt;br&gt;
&lt;strong&gt;⑩ import annotations :&lt;/strong&gt;  import annotations for current file;&lt;br&gt;
&lt;strong&gt;⑪ download txt :&lt;/strong&gt;  download annotations and comments text;&lt;br&gt;
&lt;strong&gt;⑫ clear:&lt;/strong&gt;  clear one/page/file annotation;&lt;br&gt;
&lt;strong&gt;⑬ undo annotations :&lt;/strong&gt;  undo annotations in current page;&lt;br&gt;
&lt;strong&gt;⑭ help :&lt;/strong&gt;  open help file;&lt;/p&gt;
&lt;h2&gt;
  
  
  Demonstrate Video
&lt;/h2&gt;

&lt;p&gt;Youtube tutorial video:&lt;br&gt;
&lt;iframe width="710" height="399" src="https://www.youtube.com/embed/ea_0N89-pm8"&gt;
&lt;/iframe&gt;
&lt;/p&gt;

&lt;h2&gt;
  
  
  Summarize
&lt;/h2&gt;

&lt;p&gt;I have figureed out the best solution of pdf.js annotation using only pdf.js-dist, and I put the live demo and source code in &lt;a href="https://demos.libertynlp.com"&gt;https://demos.libertynlp.com&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Waiting for your visiting and using. &lt;/p&gt;

</description>
      <category>pdfjs</category>
      <category>javascript</category>
      <category>annotation</category>
    </item>
  </channel>
</rss>
