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: Image resizing and rotation on NS port without imagemagick Date: Wed, 11 Oct 2017 20:17:00 +0100 Message-ID: <20171011191700.GA24800@breton.holly.idiocy.org> References: <20171008203822.GA22846@breton.holly.idiocy.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1507749561 10257 195.159.176.226 (11 Oct 2017 19:19:21 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 11 Oct 2017 19:19:21 +0000 (UTC) User-Agent: Mutt/1.9.0 (2017-09-02) Cc: emacs-devel@gnu.org To: "Charles A. Roelli" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Oct 11 21:19:17 2017 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 1e2MXA-0001jx-86 for ged-emacs-devel@m.gmane.org; Wed, 11 Oct 2017 21:19:12 +0200 Original-Received: from localhost ([::1]:42331 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e2MXH-0000Hu-Ks for ged-emacs-devel@m.gmane.org; Wed, 11 Oct 2017 15:19:19 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57144) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e2MV7-0007w1-Vz for emacs-devel@gnu.org; Wed, 11 Oct 2017 15:17:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e2MV6-0006UI-Lv for emacs-devel@gnu.org; Wed, 11 Oct 2017 15:17:05 -0400 Original-Received: from mail-wm0-x22b.google.com ([2a00:1450:400c:c09::22b]:45256) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1e2MV6-0006T3-Fm for emacs-devel@gnu.org; Wed, 11 Oct 2017 15:17:04 -0400 Original-Received: by mail-wm0-x22b.google.com with SMTP id q124so7551162wmb.0 for ; Wed, 11 Oct 2017 12:17:03 -0700 (PDT) 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:content-transfer-encoding:in-reply-to :user-agent; bh=e7MB5yoBYx9oVyF/e88gUhYylaezM6XgLkimodHKew0=; b=QsWrTsBVkCHkC+zVnUdg5rSjgd0/bL+AuE1xPgeTX5qKAViEtVFLEApdjfvzyq5tmG 5vj1gX0yE6oS39BKyxkPzk1tjoyxc61+iWDI0jaG3LhEa/FN9zRvhefCUof+5WD5Aj/t 9/eB3uBTXHot3SRDafy9JUIBorl0mrGWZoazy4qcGIwujfFdVonPp9eDwtD3mmVhKFhe +sY5X0Y3s8aQRdyhxG5zQpFCogNSSVgH6Et+3VLQ/kbGGJRSnAlMvvnJfqjgZ+It34/4 2EXxF2HdUeUOYS7vDv3UNi1yFaSiVXM5OIKv4e1sgGf0aJb67eDDlLRscHF9eMQOCKwt w+dQ== 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 :content-transfer-encoding:in-reply-to:user-agent; bh=e7MB5yoBYx9oVyF/e88gUhYylaezM6XgLkimodHKew0=; b=VarGGddg9cIBXVOuQO7RD6kMATj2TEOcDpp4JqjfE0XviJtmTgTYDjlOtebsSvw40t aiIGgE/LlQfrDppsga2QSYMvXcnep1r8Zja8e2kBB/Eip6stDdEtmg8WLodbkggcDHO9 wJjbtMXHOmter1hgkLrZarcbS1mAEHhCjUHti3w2dnwTEmUsPrrANKtis3lEP06R7eGP bB9B4dYytHbqk3TPIekRK0rJhnU/Lle/FhbgnVd0ezBaES2wTsd2frDxeaZJtZOmHQpn qfIFZjuM3/vLQCGgB5+chOToGYlqhCWhtBc75CwwZ/CZmYvHIDEiwfD+PvJTdZ1aR63B wsgQ== X-Gm-Message-State: AMCzsaXf1nkar3gHQdHNuX/K/K/UyvSv5/+5TlB6qhoTnUZIVGXAB8eG DBklGtL8CP6/4lC+JriZurqBlSAh X-Google-Smtp-Source: AOwi7QC1pKzMnbSw5w6A6A+i5CyH+VDBucgjLiEpn1QM8dEQgGuhfnxMbfdmI2N3iJeCAPCdbNNdBw== X-Received: by 10.28.36.212 with SMTP id k203mr12939wmk.127.1507749422097; Wed, 11 Oct 2017 12:17:02 -0700 (PDT) Original-Received: from breton.holly.idiocy.org (ip6-2001-08b0-03f8-8129-ad89-e054-05c6-3eca.holly.idiocy.org. [2001:8b0:3f8:8129:ad89:e054:5c6:3eca]) by smtp.gmail.com with ESMTPSA id w14sm8760003wmf.13.2017.10.11.12.17.01 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 11 Oct 2017 12:17:01 -0700 (PDT) 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:400c:c09::22b 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:219386 Archived-At: On Wed, Oct 11, 2017 at 08:27:58PM +0200, Charles A. Roelli wrote: > Neat. Thanks for working on this; it works well on macOS 10.6 too. Thanks for testing. > Do you know if we could get it to work with librsvg, so that > zooming/rotation could be done on SVGs as well? This uses the built‐in image support in Cocoa/GNUstep, and they don’t support SVG at all afaict. So I think librsvg is in the same boat as libpng, libjpeg, etc. While it probably can be done it will have to be specific to librsvg, or some generic system would have to do it and we’re back to imagemagick. -- Alan Third