Search found 14 matches
- 2014-11-15T20:41:03-07:00
- Forum: Users
- Topic: Convert many images to a pdf: which is first, convertion or combination?
- Replies: 13
- Views: 27068
Re: Convert many images to a pdf: which is first, convertion or combination?
IF you want to scale the pages to equal (and smaller) sizes, do it after combining the individual PDFs. Why? It's only one command then. Otherwise you have to do it for each page individually...
If the pages in a pdf file have different physical sizes (regardless of which zoom level is in use ...
- 2014-11-15T18:34:46-07:00
- Forum: Users
- Topic: Convert many images to a pdf: which is first, convertion or combination?
- Replies: 13
- Views: 27068
Re: Convert many images to a pdf: which is first, convertion or combination?
Thanks. I don't quite understand your reply yet.
According to your reply in the other question http://www.imagemagick.org/discourse-server/viewtopic.php?f=1&t=26544, I ran
for i in *.png; do convert ${i} -resize 2500x3080 -units PixelsPerInch -density 300x300 ${i/.png/.pdf} ; done
for i in *.jpg ...
According to your reply in the other question http://www.imagemagick.org/discourse-server/viewtopic.php?f=1&t=26544, I ran
for i in *.png; do convert ${i} -resize 2500x3080 -units PixelsPerInch -density 300x300 ${i/.png/.pdf} ; done
for i in *.jpg ...
- 2014-11-15T14:17:05-07:00
- Forum: Users
- Topic: How does convert combine pdf files into one?
- Replies: 12
- Views: 24347
Re: How does convert combine pdf files into one?
Also it might be useful for you to post the first 3 or 4 pdfs to some place like dropbox.com and put their URLs here so one of us can try duplicating your problem. Also what do you mean by degraded? In size, in sharpness, in color?
6.6.9.7 is ancient. IM is now at 6.8.9.10, so you are about 200 ...
6.6.9.7 is ancient. IM is now at 6.8.9.10, so you are about 200 ...
- 2014-11-15T14:15:24-07:00
- Forum: Users
- Topic: Convert many images to a pdf: which is first, convertion or combination?
- Replies: 13
- Views: 27068
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 ...
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 ...
- 2014-11-15T13:50:43-07:00
- Forum: Users
- Topic: How does convert combine pdf files into one?
- Replies: 12
- Views: 24347
Re: How does convert combine pdf files into one?
Perhaps it might be useful for you to identify the version of Imagemagick, Ghostscript delegate that is being used for PDFs and your platform. You may need an upgrade to Ghostscript or IM.
imagemagick 8:6.6.9.7-5ubuntu3.3
ghostscript 9.05~dfsg-0ubuntu4.2
imagemagick 8:6.6.9.7-5ubuntu3.3
ghostscript 9.05~dfsg-0ubuntu4.2
- 2014-11-15T13:45:42-07:00
- Forum: Users
- Topic: How does convert combine pdf files into one?
- Replies: 12
- Views: 24347
Re: How does convert combine pdf files into one?
Yes, IM is an abbreviation of ImageMagick.
My inputs are raster images.
In that case, perhaps you are not using the correct "-density" setting before each PDF.
I remember I read it somewhere that -density only specify the spatial resolution, and it shouldn't degrade the iamge quality. Correct ...
My inputs are raster images.
In that case, perhaps you are not using the correct "-density" setting before each PDF.
I remember I read it somewhere that -density only specify the spatial resolution, and it shouldn't degrade the iamge quality. Correct ...
- 2014-11-15T13:21:19-07:00
- Forum: Users
- Topic: Convert many images to a pdf: which is first, convertion or combination?
- Replies: 13
- Views: 27068
Re: Convert many images to a pdf: which is first, convertion or combination?
Are your pdf files totally vector or do they have raster images in them? Note that IM will rasterize each vector image and the result will be a vector shell around a raster image. So IM is not a very good tool to combine vector images. see http://www.imagemagick.org/Usage/formats/#vector
All ...
All ...
- 2014-11-15T13:20:09-07:00
- Forum: Users
- Topic: How does convert combine pdf files into one?
- Replies: 12
- Views: 24347
Re: How does convert combine pdf files into one?
I suppose your inputs are vector, perhaps including text. "Convert" will take every page of each input, rasterising each page (ie converting the page to an image of dots). For the output, it combines all of these raster images into a single pdf.
IM is a raster image processor. If all you want to ...
IM is a raster image processor. If all you want to ...
- 2014-11-15T13:18:33-07:00
- Forum: Users
- Topic: Use less space when converting many images into a pdf file?
- Replies: 4
- Views: 7950
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.
Thanks.
What are Q16 and Q8?
Is there other bad effect using Q8?
How can I use Q8? My OS is Ubuntu, and I installed Imagick from its ...
Q8 would need half the memory.
Thanks.
What are Q16 and Q8?
Is there other bad effect using Q8?
How can I use Q8? My OS is Ubuntu, and I installed Imagick from its ...
- 2014-11-15T13:15:05-07:00
- Forum: Users
- Topic: Convert many images to a pdf: which is first, convertion or combination?
- Replies: 13
- Views: 27068
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.
Can you provide the best way to do it?
What are the cons and pros of the following two ways:
first use "convert" to convert each image from png or jpg to pdf, and then use "convert" to combine the pdf files ...
Can you provide the best way to do it?
What are the cons and pros of the following two ways:
first use "convert" to convert each image from png or jpg to pdf, and then use "convert" to combine the pdf files ...
- 2014-11-15T13:02:29-07:00
- Forum: Users
- Topic: differences between -resize and -size, and between -repage and -page for convert?
- Replies: 9
- Views: 25109
Re: differences between -resize and -size, and between -repage and -page for convert?
Do you mean -size and -page resize to the height and width exactly as specified, while -resize and -repage resize as close to specified as possible but preserving aspect ratio?
- 2014-11-15T12:59:38-07:00
- Forum: Users
- Topic: How does convert combine pdf files into one?
- Replies: 12
- Views: 24347
How does convert combine pdf files into one?
convert 1.pdf 2.pdf 3.pdf my.pdf
The sizes of 1.pdf, 2.pdf, 3.pdf and my.pdf are 1.4MB, 1.9MB, 2.2MB and 3.7MB respectively.
I found the quality of 3.pdf has been deterioated significantly, and 3.pdf is the one with the largest size in pixels.
So I wonder how does convert combine pdf files into ...
The sizes of 1.pdf, 2.pdf, 3.pdf and my.pdf are 1.4MB, 1.9MB, 2.2MB and 3.7MB respectively.
I found the quality of 3.pdf has been deterioated significantly, and 3.pdf is the one with the largest size in pixels.
So I wonder how does convert combine pdf files into ...
- 2014-11-15T12:51:56-07:00
- Forum: Users
- Topic: differences between -resize and -size, and between -repage and -page for convert?
- Replies: 9
- Views: 25109
differences between -resize and -size, and between -repage and -page for convert?
For Imagick's `convert`, what are the differences
- between `-resize` and `-size`, and
- between `-repage` and `-page`?
If I want to convert some png files to a pdf file, and change the size of images (as number of pixels, or as some standard page size such as A4), which options shall I use? (It ...
- between `-resize` and `-size`, and
- between `-repage` and `-page`?
If I want to convert some png files to a pdf file, and change the size of images (as number of pixels, or as some standard page size such as A4), which options shall I use? (It ...
- 2014-11-15T12:48:20-07:00
- Forum: Users
- Topic: Use less space when converting many images into a pdf file?
- Replies: 4
- Views: 7950
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 ...
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 ...