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 Subject: R: 'gm convert' in 1.5 and 1.7 To: Cygwin , Angelo Graziosi In-Reply-To: <4AC76AB5.5020200@alice.it> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , 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" > 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