From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: joakim@verona.se Newsgroups: gmane.emacs.devel Subject: Re: Image rescaling Date: Mon, 15 Sep 2014 21:01:18 +0200 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1410807731 7551 80.91.229.3 (15 Sep 2014 19:02:11 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 15 Sep 2014 19:02:11 +0000 (UTC) Cc: emacs-devel@gnu.org To: Lars Magne Ingebrigtsen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Sep 15 21:02:04 2014 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XTbXH-0006pG-Vt for ged-emacs-devel@m.gmane.org; Mon, 15 Sep 2014 21:02:04 +0200 Original-Received: from localhost ([::1]:33554 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XTbXH-0000YR-JQ for ged-emacs-devel@m.gmane.org; Mon, 15 Sep 2014 15:02:03 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53277) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XTbX8-0000Oz-3t for emacs-devel@gnu.org; Mon, 15 Sep 2014 15:02:00 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XTbX0-0000tu-28 for emacs-devel@gnu.org; Mon, 15 Sep 2014 15:01:54 -0400 Original-Received: from mx6.bahnhof.se ([213.80.101.16]:25781) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XTbWz-0000to-Rx for emacs-devel@gnu.org; Mon, 15 Sep 2014 15:01:45 -0400 Original-Received: from localhost (mf.bahnhof.se [213.80.101.20]) by mx6-reinject (Postfix) with ESMTP id 2C2E846399; Mon, 15 Sep 2014 21:01:41 +0200 (CEST) X-Virus-Scanned: by amavisd-new using ClamAV at bahnhof.se (MF2) Original-Received: from mf2.bahnhof.se ([127.0.0.1]) by localhost (mf2.bahnhof.se [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id t2lFjKbaDkgg; Mon, 15 Sep 2014 21:01:32 +0200 (CEST) Original-Received: from mta.verona.se (h-235-102.a149.priv.bahnhof.se [85.24.235.102]) by mf2.bahnhof.se (Postfix) with ESMTP id 1D3E694012A; Mon, 15 Sep 2014 21:01:31 +0200 (CEST) Original-Received: from localhost (unknown [127.0.0.1]) by mta.verona.se (Postfix) with ESMTP id C823051986A; Mon, 15 Sep 2014 19:01:31 +0000 (UTC) X-Virus-Scanned: amavisd-new at verona.se Original-Received: from mta.verona.se ([127.0.0.1]) by localhost (exodia.verona.se [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id l1Ne9cYcRVHL; Mon, 15 Sep 2014 21:01:18 +0200 (CEST) Original-Received: from exodia.verona.se (www.verona.se [192.168.200.15]) by mta.verona.se (Postfix) with ESMTP id 611DC51985D; Mon, 15 Sep 2014 21:01:18 +0200 (CEST) In-Reply-To: (Lars Magne Ingebrigtsen's message of "Mon, 15 Sep 2014 18:14:51 +0200") User-Agent: Gnus/5.130012 (Ma Gnus v0.12) Emacs/24.4.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 213.80.101.16 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 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-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:174334 Archived-At: Lars Magne Ingebrigtsen writes: > joakim@verona.se writes: > >> I have used GStreamer as well, but I dont know how good that is for >> still image scaling. >> >> Maybe the above libraries are too heavyweight, I'm just throwing the >> ideas out there. > > I was thinking that image rescaling wouldn't be, like, more than a > hundred lines of C code. So no libraries at all; just some more code in > image.c. Maybe fallback to nearest neighbour if one doesnt have/want imagemagic? Thats maybe, uhm, 10 lines of code? -- Joakim Verona