PLEX86  x86- Virtual Machine (VM) Program
 Plex86  |  CVS  |  Mailing List  |  Download  |  Linux  |  Newsgroups

mogrify ImageMagick and PDFs


Your Ad Here

Your Ad Here

We've been using ImageMagick for some time to create thumbnail sheets from .TIF images. This line has been working hard for months without problems:

usr-bin-mogrify -size 180x180 -resize 180x180 -quality 85 -colors 256 -colorspace RGB +profile"*-"var-www-html-pa-thumbs-shipthumbs-*.tif

(That turns the images into uniform sized JPGs after which the script runs:

usr-bin-montage -tile 4x4 -colorspace RGB -label "%f" -size 180x180 -resize 180x180 -geometry 180x180+0+0 -gravity Southvar-www-html-pa-thumbs-shipthumbs-*.*var-www-html-pa-thumbs-shipthumbs-montage.jpg

How to Deal with Certain FUD Pieces 3999
begin virus.txt.scr Vladimir Yepifano (flatfish) nymshifted: You recently posted as Aftab Singh, allisonhunt1968 plus 1, Anna Banger, anonymous, Archie Watermann, Baba Booey, Babu Singh, bill.gates.loves.me, bison, Bjarne Jensen, BklynBoy...

which makes the thumbnail sheet. But for this PDF testing I'm just dealing with that first, mogrify line.)

But now we need to add .PDF's to the source files for the thumbnails. I gave it a try, not at all thinking it would work, by replacing *.tif with *.pdf. But it sort of did work.

Of the two test PDFs, one actually was converted to a JPG, but instead of being 180x180 it was more like 80x80. The 2nd test image was simple a large black square.

I tried this:

usr-bin-mogrifyvar-www-html-pa-thumbs-shipthumbs-*.tif

just to see how different it would be and go from there...but in fact, it created the same results! A tiny but OK looking JPG from PDF 1, and a large black square for PDF 2. There doesn't appear to be any major differences between the two PDF's. Both have layers (orgres have layers! Sorry.) Both are CMYK color, both are the same dimensions and resolution.

Is there some way to get mogrify to work with PDFs better, or will I have to resort to PDFLib or something? (Yikes!)

How to Deal with Certain FUD Pieces 3998
Kelsey Bjarnason That has to be one of the most pathetic admissions of incompetence I have ever read. You do realize how foolish and paranoid you and your bretheren look to outsiders who are interested...
How to Deal with Certain FUD Pieces 4000
malloc schrieb: I'm not insulting anyone, I am trying to help him with his problem and he does appear to have a problem. I am simply a harbinger of goodwill. A...

Thanks for any feedback! Liam



Your Ad Here

List | Previous | Next

How to Deal with Certain FUD Pieces 3998

Linux groups from Newsgroups

The #1 Usenet Provider on the Internet

timidity and sarge