R: 'gm convert' in 1.5 and 1.7

Marco Atzeri marco_atzeri@yahoo.it
Sun Oct 4 21:45:00 GMT 2009


> Da: Angelo Graziosi 
> Oggetto: 'gm convert' in 1.5 and 1.7
> A: "Cygwin" <cygwin cygwin.com>
> Data: Sabato 3 ottobre 2009, 17:16
> I have noticed different results in
> size using 'gm convert', from JPG to PDF, in Cygwin 1.5 and
> in 1.7. For example, in Cygwin-1.5
>> $ gm convert -page 595x842! test.jpg test.jpg.pdf
>> $ ls -lrt
> [...]
> -rw-r--r--  1 graziosi Users    351268
> Sep  6  2008 test.jpg
> -rw-r--r--  1 graziosi Users    296578
> Oct  3 16:49 test.jpg.pdf
>>> On Cygwin-1.7:
>> $ gm convert -page 595x842! test.jpg test.jpg.pdf
>> $ ls -lrt
> [...]
> -rw-r--r--  1 graziosi Users  351268  6
> Sep  2008 test.jpg
> -rw-r--r--  1 graziosi Users 1524227  3 Oct 16:50
> test.jpg.pdf
>> So, on 1.5, 'test.jpg.pdf' has a size of 292K, instead on
> 1.7 it has a size of 1.5M!
>> Why this difference?
>> I have attached a simple test case with which one should
> reproduce the things, but this big discrepancy happens with
> all JPG files I have tried.
>> I discovered the above trying to convert many JPG files to
> PDF and then creating a single PDF with 'pdftk'. But on
> Cygwin 1.7 the resulting final PDF is very very big (image
> 100 JPGs...)!!
>
as workaround try 
gm convert -compress jpeg test.jpg test2.pdf
>> Cheers,
> Angelo.

Regards
Marco
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple


More information about the Cygwin mailing list

AltStyle によって変換されたページ (->オリジナル) /