From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Alan Third Newsgroups: gmane.emacs.devel Subject: Re: Linking to ImageMagick by default Date: Wed, 5 Dec 2018 22:39:01 +0000 Message-ID: <20181205223901.GA5543@breton.holly.idiocy.org> References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: blaine.gmane.org 1544049597 30424 195.159.176.226 (5 Dec 2018 22:39:57 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 5 Dec 2018 22:39:57 +0000 (UTC) User-Agent: Mutt/1.10.1 (2018-07-13) Cc: Glenn Morris , emacs-devel@gnu.org To: Lars Ingebrigtsen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Dec 05 23:39:52 2018 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gUfpg-0007nk-Om for ged-emacs-devel@m.gmane.org; Wed, 05 Dec 2018 23:39:52 +0100 Original-Received: from localhost ([::1]:37327 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gUfrm-0001LV-Rt for ged-emacs-devel@m.gmane.org; Wed, 05 Dec 2018 17:42:02 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44553) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gUfoy-00086k-BV for emacs-devel@gnu.org; Wed, 05 Dec 2018 17:39:09 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gUfox-0006ds-Eb for emacs-devel@gnu.org; Wed, 05 Dec 2018 17:39:08 -0500 Original-Received: from mail-wm1-x32c.google.com ([2a00:1450:4864:20::32c]:37465) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gUfow-0006Ue-3L; Wed, 05 Dec 2018 17:39:06 -0500 Original-Received: by mail-wm1-x32c.google.com with SMTP id g67so14491524wmd.2; Wed, 05 Dec 2018 14:39:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20161025; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=qjlVW8saFswNg8HDVhuSQWO9whztq4tzVC+wHzVjWrQ=; b=fatJ3mYlfaUdcta26QobBqHh4hes/WmXTIBqKaSw3Jq/95ge7X6dgc/ZgJDZHIohCW iVQpzI9YMBLWsotsXDH2idHyJcu05VBhBMo8BQxlDoruevRV32bGpWX1rWa2rMsMklR3 iA6wKM/Vsi1iU5w7uSMYNdsc6wDtRrUHtwBn7TXuTDcnenWzExNQ8HylsIN0ph1adTZS l8jA8wywJT99dRF20fVoT2W/A5W0H+Qw3dyg54KhFCY9gF7rqR+MZf95C8s1J9AiQJH+ rxTOW+4BwaUChKq3ZlLXVUIyHqGF3VebBmR2tPd4lPIlwb3Pl9aEk246zw44j+jhO4AL 185g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :references:mime-version:content-disposition:in-reply-to:user-agent; bh=qjlVW8saFswNg8HDVhuSQWO9whztq4tzVC+wHzVjWrQ=; b=cPR4SjgOvBdsR6LwVDXUmCEgI31X5OOgWqb/QiaCf13D5IZ++XNvQ+lUr03cwEVznK gsjmf5y4mpoK+RbkT3kGFr4WOfPkvB9/TmZBVMkRACcFtykYkwpXYCVPAJCJYi1xkusm Rqp3XO/LlZlKjEFBWKO85ZND9ORt4TQqNzkVw8sX0ijB2LJ4d/7rJpArqPH9SwgJFlU0 aWd+yTdDgMlT43tube3xTXt8MilLSxxAc4jl6wNwa2o89wSPYCTugd42EN3oky9GrhA+ zE9o5vcvCuLZe/2FKiPq2m+MX30z5hPcB3PSMDOQUFx44Vv+Euk5W76efKzXlfaBh6c0 y4ow== X-Gm-Message-State: AA+aEWZKRiUpIDaHf9rQqmSLLWxf55n9XBvExPq+d/dSpO3k2pcqPZhX qdiO0bLRK5ggnJMdO8BNGGyTN7l/ X-Google-Smtp-Source: AFSGD/UdUyy7/SATJIavSpoXJ8B99jMCXKfANnoz+gbraHJxrfiAbr9yeyAnZfiBYe0ub7VrskIYNw== X-Received: by 2002:a1c:8d8e:: with SMTP id p136mr18336775wmd.74.1544049544674; Wed, 05 Dec 2018 14:39:04 -0800 (PST) Original-Received: from breton.holly.idiocy.org (ip6-2001-08b0-03f8-8129-c0c6-f0c8-876b-ed70.holly.idiocy.org. [2001:8b0:3f8:8129:c0c6:f0c8:876b:ed70]) by smtp.gmail.com with ESMTPSA id a62sm12388005wmf.47.2018.12.05.14.39.03 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 05 Dec 2018 14:39:03 -0800 (PST) Content-Disposition: inline In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::32c X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:231657 Archived-At: On Wed, Dec 05, 2018 at 02:30:34PM +0100, Lars Ingebrigtsen wrote: > Glenn Morris writes: > > > Is it worth reconsidering whether Emacs should link to ImageMagick by > > default? The pros are support for more formats and rescaling, the cons > > are crashes. > > Without image scaling, modes that display images become pretty > worthless. > > I think the long term solution here is to implement image scaling in > Emacs (probably not very hard) and then drop ImageMagick-by-default > after that's been done. This may be naive, but is it possible to leave scaling to the GUI toolkit? I know that when we draw images into the frame in NS we can specify different sized rectangles for source and destination and the toolkit handles the scaling for us. I think w32 is the same and presumably X provides something similar. -- Alan Third