pdf-conversion

ImageMagick convert pdf to jpeg has poor text quality after upgrading ImageMagick version to 6.7.8

妖精的绣舞 提交于 2019-11-27 10:11:43
问题 After upgrading ImageMagick text quality got degraded when convert pdf to jpeg: Old image New Image Conversion command: convert foo.pdf foo.jpeg Old ImageMagick version: [root@home]# convert -version Version: ImageMagick 6.2.8 05/07/12 Q16 file:/usr/share/ImageMagick-6.2.8/doc/index.html Copyright: Copyright (C) 1999-2006 ImageMagick Studio LLC generated files size: -rw-r--r-- 1 root root 139K Apr 2 16:11 foo-0.jpeg -rw-r--r-- 1 root root 130K Apr 2 16:11 foo-1.jpeg -rw-r--r-- 1 root root

Office documents to PDF

戏子无情 提交于 2019-11-27 06:06:39
问题 I have seen a couple threads about this, but am not getting very straight answers in my searching. I have a web application that needs to take in doc, docx, xls, xlsx files and convert them into PDF. Right now we have a process that uses the Microsoft.Office.Interop.Word library which opens up the document, prints it to a PS file, then GPL GhostScript converts the PS file into a PDF. This process works OKish, but overall there are several steps in there, and this was originally developed

How to Use pdf.js [closed]

↘锁芯ラ 提交于 2019-11-27 02:42:17
I am considering using pdf.js (an open source tool that allows embedding of a pdf in a webpage). There isn't any documentation on how to use it. I assume what I do is make an html page with the script referenced in the header, and then in the body, I put some sort of function call with an array of the file name and location. Can anyone help me out here? Try Google'ing pdf.js documentation /* create the PDF document */ var doc = new pdf(); doc.text(20, 20, 'hello, I am PDF.'); doc.text(20, 30, 'i was created in the browser using javascript.'); doc.text(20, 40, 'i can also be created from node

How to Use pdf.js [closed]

一世执手 提交于 2019-11-26 10:08:19
问题 It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. Closed 6 years ago . I am considering using pdf.js (an open source tool that allows embedding of a pdf in a webpage). There isn\'t any documentation on how to use it. I assume what I do is make an html page with the script referenced