Search found 168 matches
- 2014-11-15T15:31:35-07:00
- Forum: Users
- Topic: How does convert combine pdf files into one?
- Replies: 12
- Views: 15691
Re: How does convert combine pdf files into one?
The problem with raster pdfs is that the resolution of the image in the pdf may be different from the resolution of the vector shell of the pdf. That makes it hard to combine and maintain good "quality/resolution", unless you extract the images first and then combine them into one final p...
- 2014-11-15T15:26:36-07:00
- Forum: Users
- Topic: How does convert combine pdf files into one?
- Replies: 12
- Views: 15691
Re: How does convert combine pdf files into one?
The problem with raster pdfs is that the resolution of the image in the pdf may be different from the resolution of the vector shell of the pdf. That makes it hard to combine and maintain good "quality/resolution", unless you extract the images first and then combine them into one final p...
- 2014-11-15T15:22:38-07:00
- Forum: Users
- Topic: Convert many images to a pdf: which is first, convertion or combination?
- Replies: 13
- Views: 13989
Re: Convert many images to a pdf: which is first, convertion or combination?
I suggest you test the complete command chain you have in mind with a single test image. The first command chain I have in mind is the following: convert some-2500x3072.jpg some-2500x3072.pdf Now test what resolution and what PDF page size you got: pdfimages -list 2500x3072.pdf page num type width h...
- 2014-11-15T14:21:53-07:00
- Forum: Users
- Topic: Use less space when converting many images into a pdf file?
- Replies: 4
- Views: 6226
Re: Use less space when converting many images into a pdf file?
IM first reads all the images into memory. If using Q16, this needs 8 bytes/pixel for each image. 2500*3080*250*8/1e9 = 15.5 GB. Q8 would need half the memory. Since Tim very likely does not have that much free memory available, the system started to swap -- which explains why it took so long to co...
- 2014-11-15T14:17:33-07:00
- Forum: Users
- Topic: Use less space when converting many images into a pdf file?
- Replies: 4
- Views: 6226
Re: Use less space when converting many images into a pdf file?
I have about 250 image files (png and jpg) in a directory. I use the command convert them into a pdf file: convert * my.pdf It takes about 10GB (at peak) and 4 hours to create a 80MB pdf file. I firstly failed to run it, because I don't have enough free space in my "/tmp" (actually in my ...
- 2014-11-15T14:09:09-07:00
- Forum: Users
- Topic: Convert many images to a pdf: which is first, convertion or combination?
- Replies: 13
- Views: 13989
Re: Convert many images to a pdf: which is first, convertion or combination?
I would like to convert about ~250 images (png and jpg files) in a directory to a pdf. The best approach very much depends on the answers to following questions: Are the individual images within this set of 250 small or big in terms of their {width}x{height} dimensions? If they are big, do you need...
- 2014-11-15T13:55:17-07:00
- Forum: Users
- Topic: differences between -resize and -size, and between -repage and -page for convert?
- Replies: 9
- Views: 19811
Re: differences between -resize and -size, and between -repage and -page for convert?
Maybe this answer on Stackoverflow is also helpful for one part of your question:
"What's the difference of sample/resample/scale/resize/adaptive-resize/thumbnail ImageMagick convert?"
http://stackoverflow.com/a/13078621/359307
"What's the difference of sample/resample/scale/resize/adaptive-resize/thumbnail ImageMagick convert?"
http://stackoverflow.com/a/13078621/359307
- 2014-11-15T13:39:58-07:00
- Forum: Bugs
- Topic: PDF is too small (in cm)
- Replies: 28
- Views: 21235
Re: PDF is too small (in cm)
I install my delegates from MacPorts, but install IM from source manually I was trying to do exactly that recently (install IM from source -- but from current SVN, not from an officially released tarball). However, it did not compile for me. Unfortunately, I didn't have the time to take a closer lo...
- 2014-11-15T03:34:57-07:00
- Forum: Bugs
- Topic: PDF is too small (in cm)
- Replies: 28
- Views: 21235
Re: PDF is too small (in cm)
6.8.9-8 Q16 Mac OSX here, installed via MacPorts.fmw42 wrote:Funnily, my version of IM reports this PS as a PNG file!
- 2014-11-14T17:11:09-07:00
- Forum: Bugs
- Topic: PDF is too small (in cm)
- Replies: 28
- Views: 21235
Re: PDF is too small (in cm)
IM see this for verbose information Image: testpage.ps Format: PS (PostScript) Mime type: application/postscript Class: DirectClass Geometry: 192x192+0+0 Resolution: 72x72 Print size: 2.66667x2.66667 Units: Undefined Type: TrueColorAlpha Endianess: Undefined Colorspace: sRGB Depth: 16/8-bit Page ge...
- 2014-11-14T16:54:48-07:00
- Forum: Bugs
- Topic: PDF is too small (in cm)
- Replies: 28
- Views: 21235
Re: PDF is too small (in cm)
The %%BoundingBox statement you found in the testpage.ps was the one coming from Einstein's picture, which is embedded in the main PS as an Encapsulated PostScript file. It is not at all valid and irrelevant for the overall main PS.
- 2014-11-14T11:50:49-07:00
- Forum: Bugs
- Topic: PDF is too small (in cm)
- Replies: 28
- Views: 21235
Re: PDF is too small (in cm)
No, it's not square. It IS A4. Not sure what you base your statement about its squareness on. According to Ghostscript, it's real BoundingBox (that is, the area, where ink would be deposited by a printer) is this: gs -q -o - -sDEVICE=bbox testpage.ps %%BoundingBox: -1 -1 596 843 %%HiResBoundingBox: ...
- 2014-11-14T10:22:26-07:00
- Forum: Bugs
- Topic: PDF is too small (in cm)
- Replies: 28
- Views: 21235
Re: PDF is too small (in cm)
To convert an A4 (color) PostScript into a grayscale PDF where each page contains only bitmaps with TIFF G4 (a.k.a. "fax") compression, and to have 300 ppi resolution per page, use these 2 commands: gs -o testpage.tif -sDEVICE=tiffg4 -r300 testpage.ps tiff2pdf -p A4 -F testpage.tif > testp...
- 2014-11-14T04:22:03-07:00
- Forum: Bugs
- Topic: PDF is too small (in cm)
- Replies: 28
- Views: 21235
Re: PDF is too small (in cm)
Hmm... Why do you even use ImageMagick for this job in the first place?!? IM cannot handle PS input directly. It employs Ghostscript as its delegate to convert the PS into a raster format it understands. You can observe this yourself by adding -verbose to beginning of the commandline. It will show y...
- 2014-11-14T03:56:47-07:00
- Forum: Users
- Topic: Why is convert reducing quality when PNG -> PNG
- Replies: 4
- Views: 6773
Re: Why is convert reducing quality when PNG -> PNG
My version of convert (6.8.9-8 Q16 x86_64 2014-10-03) does not exhibit this problem. I did run:
The resulting delta.png does not show a single red pixel.
Code: Select all
convert Fontanes.png Fontanes.output2.png
compare Fontanes.png Fontanes.output2.png -compose src delta.png