브라우저에서 PDF 파일을 이미지로 변환하는 방법을 소개합니다.
이 글에서는 서버 없이 브라우저에서 PDF 파일을 이미지 파일로 변환하는 방법을 설명합니다. pdf.js라는 도구를 사용하여 PDF 페이지를 <canvas>에 렌더링하고, 이를 PNG 또는 JPG 형식으로 내보낼 수 있습니다. 또한, 파싱 시 성능을 최적화하는 방법에 대해서도 다룹니다.
This article explains how to convert PDF files to images entirely in the browser.
The article discusses a method to convert PDF files to image formats without the need for a server. It utilizes pdf.js to render PDF pages onto a <canvas> and export them as PNG or JPG. Additionally, the article covers performance optimization tips when using the tool for parsing.