'gm convert' in 1.5 and 1.7

Angelo Graziosi angelo.graziosi@alice.it
Sat Oct 3 15:16:00 GMT 2009


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...)!!


Cheers,
Angelo.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test.jpg.bz2
Type: application/octet-stream
Size: 340173 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20091003/0b89a217/attachment.obj>
-------------- next part --------------
--
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