www.delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=-2.3 required=5.0 tests=AWL,BAYES_00 |
X-Spam-Check-By: | sourceware.org |
Message-ID: | <144079.49172.qm@web25501.mail.ukl.yahoo.com> |
Date: | Sun, 4 Oct 2009 21:44:58 +0000 (GMT) |
From: | Marco Atzeri <marco_atzeri AT yahoo DOT it> |
Subject: | R: 'gm convert' in 1.5 and 1.7 |
To: | Cygwin <cygwin AT cygwin DOT com>, Angelo Graziosi <angelo DOT graziosi AT alice DOT it> |
In-Reply-To: | <4AC76AB5.5020200@alice.it> |
MIME-Version: | 1.0 |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
> Da: Angelo Graziosi=20 > 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 >=20 > $ gm convert -page 595x842! test.jpg test.jpg.pdf >=20 > $ ls -lrt > [...] > -rw-r--r--=A0 1 graziosi Users=A0 =A0 351268 > Sep=A0 6=A0 2008 test.jpg > -rw-r--r--=A0 1 graziosi Users=A0 =A0 296578 > Oct=A0 3 16:49 test.jpg.pdf >=20 >=20 > On Cygwin-1.7: >=20 > $ gm convert -page 595x842! test.jpg test.jpg.pdf >=20 > $ ls -lrt > [...] > -rw-r--r--=A0 1 graziosi Users=A0 351268=A0 6 > Sep=A0 2008 test.jpg > -rw-r--r--=A0 1 graziosi Users 1524227=A0 3 Oct 16:50 > test.jpg.pdf >=20 > So, on 1.5, 'test.jpg.pdf' has a size of 292K, instead on > 1.7 it has a size of 1.5M! >=20 > Why this difference? >=20 > 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. >=20 > 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...)!! >=20 as workaround try=20 gm convert -compress jpeg test.jpg test2.pdf >=20 > 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |