企评社

Interface labels are shown in English. Company reviews, forum posts and tool descriptions are currently available in Chinese only.

PDF to long image

Turn a multi-page PDF into one tall image for WeChat, moments or group notices, instead of sending page after page

文件不上传服务器:PDF 的解析、渲染与拼接全在你的浏览器里完成

把 PDF 拖到这里,或点击选择

一次处理一个文件;会先把所有页渲染成图片再竖向拼接,页数多时需要一点时间

什么场景要把 PDF 变成长图?

微信里发 PDF,对方常常懒得点开。通知、报价单、活动细则、客服话术这类多页材料,发文件要对方先下载再逐页翻,发到群里还会被刷屏顶掉;拼成一张长图,聊天里直接显示缩略图,从上往下滑一次看完。朋友圈、群公告、客服工单只收图片,长图也能直接贴。

长图为什么不能无限长。长图画在一张浏览器画布上,画布有硬上限(高度约 16384px、总面积约 2.68 亿像素),超限不会报错而是静默变空白。所以本页渲染前先预估总高与总像素,超限直接拒绝并告诉你「当前设置下最多能拼多少页」。何况微信、朋友圈都会二次压缩,几万像素高的长图压完文字反而发虚,这才是长图真正的实用边界。

清晰度和体积怎么权衡。1× 约 72 DPI 够手机上瞄一眼;1.5× 约 108 DPI 是平衡点;2× 约 144 DPI 适合放大看小字或打印,但像素总量是 1× 的四倍。要存档或打印可考虑 2×,或改用 PDF to images 逐页导出 PNG。

关于隐私。本页没有服务端转换:PDF 由 pdf.js 在你的浏览器内存里解析并渲染到画布,拼接与导出也在同一块画布上完成,文件不上传服务器。合同、身份证、财务单据可以放心处理,可在开发者工具 Network 面板核验。

FAQ

It says the browser canvas limit was exceeded - what now?

Do any one of the three things it suggests: drop sharpness from 2x or 1.5x to 1x (total pixels fall by the square, so this usually passes at once); use the page range to export just the pages you need most first (say 1-5); or split into two long images, first half and second half separately. Forcing an export would only yield a blank picture, which is why this page stops you beforehand.

The text in the long image got crushed by the chat app - what can I do?

Chat apps cap image dimensions and weight, and over-long strips get compressed hard - the compression ratio grows with the total height. Two ways out: use fewer pages and cut the strip shorter; or switch to the PDF-to-image page and export page-by-page PNGs (your reader can zoom each one for the small print), or just send the PDF itself.

Pages have different widths - will the strip come out crooked?

No. The finished width is the widest of the pages being joined; narrower pages keep their original ratio, centered, with your chosen background colour filling the sides - nothing gets stretched just to fill. Pages of one PDF are usually the same width, so most of the time there is no banding at all.

Can the text in the stitched strip be copied or searched?

No. The long image is a bitmap: the page's text becomes pixels, and both copying and searching are gone. If the text must stay usable, send the original PDF - the long strip is for a quick glance, not a searchable archive.

It says the PDF is encrypted - what do I do?

A PDF with an open password cannot be parsed by the browser, so this page cannot handle it either. Open it in a reader, enter the password and save an unencrypted copy, then drop that copy in for stitching. Your original file is never modified, and choosing another file clears the in-memory copy.

Related tools