Re: gm convert bla.jpg bla.pdf multiplies SEVENFOLD the file's size !
Bob Friesenhahn <[email protected]> Sat, 8 Dec 2018 10:33:41 -0600 (CST)
| Newsgroups | gmane.comp.video.graphicsmagick.bugs |
|---|---|
| Message-ID | <[email protected]> |
On Sat, 8 Dec 2018, Mehdi wrote: > I used "gm convert" on a picture, to make it into a pdf, and it grew from > 521 ko to 3.8 Mo. I used to compile entire books with hundreds of pictures > before to put them in my Kindle, now it's over. > Also, no way to compile more than 50, maybe, pictures at once. A setting I > can't override since there's no policy.xml anymore, and there is no clue > anywhere as to the syntax of the .magick file mentioned in the manual > (thought not mentioned on the website). I am sorry to hear about your frustation. You did not specify the file format of your picture. Please try gm convert mypicture -compress jpeg mypicture.pdf and see if you are happier about the size. Probably your PDF is not using any compression at all. There is no ".magick" file mentioned by the documentation but there is a "$HOME/.magick" directory where you could put modified ".mgk" files. The format of these files is included in the documentation and some of them include additional documentation at the top of the file. GraphicsMagick has never had a policy.xml file. Bob -- Bob Friesenhahn [email protected], http://www.simplesystems.org/users/bfriesen/ GraphicsMagick Maintainer, http://www.GraphicsMagick.org/ Public Key, http://www.simplesystems.org/users/bfriesen/public-key.txt