James G. Sack (jim) wrote:

[Snip]

More than one way to do it... That's what I was thinking...
Lemme try ImageMagick...

It turns out that ImageMagick does the same thing that the GIMP does...
produce a very low quality JPG...
1716557 May 20 22:26 Pg13of13.pdf
211333 May 30 19:11 Pg13of13-test.jpg

Looks like
 convert -quality 100 Pg13of13.pdf Pg13of13.jpg
is /supposed/ to do what you want
Check with
 identify -verbose Pg13of13-test.jpg

These progs have a zillion options, maybe there's something else that
could do additional magick magic?

 http://www.imagemagick.org/script/convert.php
 file://localhost/usr/share/doc/ImageMagick-6.2.2.0/www/convert.html

Oh, BTW, gimp has an option for jpeg compression, too. But convert seems
like a nicer thing to script -- if it would only do what you want <heh>.

..jim


OK this is interesting... doing this:
convert -density 600% Pg13of13.pdf -quality 100% -resize 25% Pg13of13-test.jpg

Gets you a good quality JPG but the output is a fraction of the letter size that you started with. You can scale this in the GIMP and the quality remains good. With some fiddling (maybe a lot of fiddling) with the command line above I think I may be able to skip the scan step altogether where the PDF to be modified is a downloaded file.

(Note: this command uses a lot of CPU time, in the range of 95%, and in a couple instances where I had a lot of other things open the other apps exited or this "convert" process segfaulted. Nothing broke however...)

For me the goal is to work on docs my way ( the Linux way) and the WinDoze person I am interacting with doesn't ever have a clue anything other than M$ went on which means no discussions about things in which they have no knowledge or interest (i.e I'm no longer entertained with justifying my use of Linux in response to their questions in defense of their use of M$ apps... ;^P ).

rbw


--
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list

Reply via email to