delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2020/06/23/09:05:57

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 14167394848D
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1592917515;
bh=2/upAJodBPtLItczmLO/Nsp8TAOUUSUjt1KnWc4c3Dk=;
h=Date:To:Subject:In-Reply-To:References:List-Id:List-Unsubscribe:
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:
From;
b=y2i5tgUuBSkHzcjAVsiff++mbGn1YyYL16Gujcza1OC/Iu9rC1fW9zfwJab9IoXQG
NfwbuMID6mRz7pFR+k292NEeksbhgoABewlEKXsIwDWpaqzGHz5UIV1IIHQ8Voqe0F
6Bc9oP1OnH9BW8xd+puCypvNxoqLQ3i0m6itQOyw=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 896B83851C09
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20161025;
h=x-gm-message-state:date:from:to:subject:in-reply-to:references
:message-id:mime-version:content-transfer-encoding;
bh=k1OSMoI9BxkaTIBOQHPEklEUom8iSTfv4UnSfkLvves=;
b=NQMBtKJifLlYeu/Ff5wHiaAs/KhY6r1hjPnKWHTiwku9RA5dajcRJQMyItD5aJhjK6
utAK+pRUIWa56MDAD0QytVfvZ8U5xUdZMiE2s8uQkXDchjfwjawtnxvQ5wOU9KJvr/CN
FyVHpUSzlAFhVzfZd2S8j+CQXU/blC6FdbqXUgC8TrnVETAZdWaK9bxLj5C7/Ufz6wUc
rv4Ta92rRmY7A9LSvAkQTGjO31jnBwbFuhjiqCj7mHrzCPRLxWrQm/47/PT5iN4eyzyo
9WeREVD2R8Au1qRmHZORe1bLxnNhiKL+AapzePj62BARbF8eLH0QlKitb+rLp1AKnAbg
KY9w==
X-Gm-Message-State: AOAM5313oo39QaU9dN4q0juQXuukwswfqK/FlnKa98Z34fOWME79Gzmv
Mj5d7+aUnCHTvI4spf7E4DbffNrE
X-Google-Smtp-Source: ABdhPJwNI5mHcLIVyiWTjDOCOFLTYzvSAM1f16XuUeBS7nM1/y8Jci+VDmDqxEGM4yoNCjiOHixWJg==
X-Received: by 2002:a63:df56:: with SMTP id h22mr16821966pgj.140.1592917505388;
Tue, 23 Jun 2020 06:05:05 -0700 (PDT)
Date: Tue, 23 Jun 2020 22:05:03 +0900
To: cygwin AT cygwin DOT com
Subject: Re: ImageMagick maybe broken by libgs9 upgrade
In-Reply-To: <134f371b-8989-4ed7-2209-acc486960d65@cornell.edu>
References: <92b51d45-55b5-33e1-c1c7-883094b6b09b AT cornell DOT edu>
<134f371b-8989-4ed7-2209-acc486960d65 AT cornell DOT edu>
Message-Id: <20200623220501.423D.50F79699@gmail.com>
MIME-Version: 1.0
X-Mailer: Becky! ver. 2.75.01 [ja]
X-Antivirus: Avast (VPS 200623-0, 2020/06/23), Outbound message
X-Antivirus-Status: Clean
X-Spam-Status: No, score=-0.4 required=5.0 tests=BAYES_00, BODY_8BITS,
DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM,
RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS,
TXREP autolearn=ham autolearn_force=no version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on
server2.sourceware.org
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <http://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <http://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: Lemures Lemniscati via Cygwin <cygwin AT cygwin DOT com>
Reply-To: Lemures Lemniscati <lemures DOT lemniscati AT gmail DOT com>
Errors-To: cygwin-bounces AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces AT cygwin DOT com>
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 05ND5dTJ008584

Date: Tue, 23 Jun 2020 08:15:01 -0400
From: Ken Brown via Cygwin <cygwin AT cygwin DOT com>

> On 6/23/2020 7:27 AM, Ken Brown via Cygwin wrote:
> > On 6/22/2020 9:37 PM, Emily via Cygwin wrote:
> >> I use ImageMagick to convert and crop shipping labels from PDFs generated by
> >> Ebay.  On 6/8, this command worked:
> >>
> >> $ convert -density 300 -crop 1500x1200 label.pdf label.png
> >> Aborted (core dumped)
> >>
> >>
> >> The command still runs on PDFs that were not generated by Ebay, but I get the
> >> same error on old Ebay PDF files (from 6/8 and earlier) that previously
> >> converted and cropped without problems.
> >>
> >>
> >> This is in my /var/log/setup.log:
> >>
> >> 2020/06/09 19:52:15   29 install libgs9                9.52-2
> >> 2020/06/09 19:52:15   30   erase libgs9                9.27-2
> >>
> >>
> >> Cropping in a separate step after converting to PNG still works:
> >>
> >> $ convert -density 300 label.pdf temp.png
> >> $ convert -crop 1500x1200 temp.png label.png
> >>
> >>
> >> But in case other ImageMagick functionality is also broken, this isn't a
> >> permanent solution.  I tried to downgrade libgs9, but 9.27 is no longer an
> >> option in setup, even after I added another mirror.
> >
> > Please provide a sample label.pdf for which you're seeing this behavior.
> 
> You could also try adding the '-verbose' option to your command line to see if that gives a clue.
> 

How about something like:

convert -density 300 label.pdf -crop 1500x1200+0+0 label.png

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019