Closed. This question is not about programming or software development. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 11 hours ago.
Improve this question
I truly need help in Adobe Illustrator PDF. I have many small PNG files saved from lost vector line drawings.
The problem is that PDF scales up any image file (JPEG or PNG alike) when saved in Adobe Illustrator. Although such PNG images are as big as 1920 pixels width size, they are about 50 KB. But when exporting a PDF file, the PDF file becomes almost 9 MB. Is there a way to configure the Illustrator PDF to not alter the image type or size, but rather embedding it as is? I also don't want it linked to an outside file, but rather embedded as is, without scaling it up to 9 MB.
I looked through the PDF settings, but there isn't anything to give me the option to embed images without scaling up. Even setting it to 72 ppi doesn't make a big difference.
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 6 years ago.
Improve this question
Can we use iText library to convert multi page PDF to multi page TIFF?
You may convert PDF to images using one of the following tools:
Ghostscript (cross platform, see this answer)
Image Magick (cross platform and based on Ghostscript, with command line convert -density 300 image.pdf image.tif)
xPDFRasterizer (cross platform, commercial, from authors of xPDF)
ByteScout PDF Renderer SDK (Windows only, commercial - Disclosure: I am related to ByteScout)
Also, you should consider the following important things when converting PDF to TIFF images:
PDF rendering is the heavy task that requires lot of memory especially if you are rendering high quality images as output (300 DPI or higher)
Generating TIFF files is also quite a heavy task so you may consider converting each page from PDF file into a separate file and then merge all pages into final TIFF file.
You may want to preserve original PDF files in addition to generated TIFF images: PDF is the actual replacement for TIFF format and is better because PDF is searchable, may contain both image representation and the original text on top, provides much lesser file size and by using embedded fonts provides scalable high quality text printing.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 7 years ago.
Improve this question
I have a few copies of textbooks this semester on PDF. These are 1000 page computer science textbooks full of graphics. When I downloaded it, it took just a few seconds which was amazing, I thought something had gone wrong. The entire textbook was 9.7 MB. I opened it up and sure enough, the entire textbook was there, all images and everything were loaded instantly (and I have a really terrible internet connection)
I am just wondering what amazing compression technique allows you to store 1000 pages of a textbook in under 10 MB?
Here is a screenshot of the file properties, I am so baffled.
A typical text page is between 3k and 6k tokens. So the text of your 1000 page book would fit in 6MB even without compression.
Normal compression tools can reduce plain ASCII text with something like 60-80%.
So lets say it's 75%, then you need 0.25 x 6MB = 1.5MB for the text. That leaves 8.5 MB for the pictures.
For vector based images like svg that's a lot, they are small and compress as well as text. But 8.5 MB does not leave room for a lot of embedded bitmaps.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 years ago.
Improve this question
When i save a .psd to a Photoshop PDF, some fonts don't look like they looked in Photoshop.
They are not completely filled like they are in Photoshop. See the attachments:
This is how it looks like in PhotoShop:
https://s30.postimg.org/hhzop7ksh/Screen_Shot_2014_12_15_at_13_32_23.png
And this is what it looks like in, for example, google chrome's PDF reader.
https://s30.postimg.org/v06l1hwxt/Screen_Shot_2014_12_15_at_13_43_54.png
As you see, there is a white area in the font. How do I fix this?
I bet the PDF you created from Photoshop did not embed all fonts used by the PDF.
The consequence is that any PDF reader having to deal with this document needs to use a substitute font.
How to fix this? The first step is: make sure your Photoshop-created PDF does embed all the fonts it uses. (Then see, if that is already doing what you expect, or if there are more fixes needed.)
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 years ago.
Improve this question
We used Adobe inDesign to design story books. We need both the PDF file as well as epub file. Since we all view in PDF during the process, the final clear product in PDF, when we export as epub file, it's huge. It all messed up the original design. What can we do?
Why did it happen?
I've worked on ONE project going from InDesign to ePub about two years ago - and you are right it is a mess. It didn't understand which local overrides to keep and practically every paragraph had style="localoverride1 localoverride2 substyle3 etc" in it. It was a mess to sort and clean up.
After that miserable experience we've found that it is better to view PDF and ePub as two separate products. Our workflow takes source XML and goes EITHER into InDesign OR through an XSLT to make an ePub. We no longer use InDesign to attempt to make ePubs - with an XSLT there is a LOT more control over the look and feel of the final product.
However if you are dead set on using InDesign - I've heard that it does fixed layout "epub" fairly well (basically it ends up being a bunch of images - it's not reflowable).
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 2 years ago.
Improve this question
I often work with 3D CAD models, which I receive as SolidWorks or PDF files. I need to turn them into black & white line art, like you'd find in a patent application. (In fact, exactly like what you find in a patent application!)
Acrobat-9 allows me to rotate & scale the models, so I can print them with reasonable resolution, but the rest of my drawing toolchain deals with SVG files, while all I can get out of Acrobat is bitmaps. (I also make models from scratch in Blender, and make line drawings using rendering procedures there, but that also produces bitmaps.)
Is there some way to get from a 3D view to an SVG picture (preferably with relatively simple Bezier curves and scaled line weights)?
(As an example, imagine that I have a 3D model of a cube. I position it as desired, then (somehow) convert it to an SVG image with several straight lines where the edges are, with the line weights scaled according to the distance between the edge and the camera/viewer.)
if you have rendered views as PDF files, you can use inkscape's command-line tool to convert PDF to SVG, as discussed on this post.
case there are no rendered PDF's available, you can export PDF snapshots from within CAD prior to converting them.
you can also try other converters made for this purpose, like verydoc or PDF-tron.