From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Mathias Dahl Newsgroups: gmane.emacs.devel Subject: Re: Alignment and images Date: Tue, 30 Aug 2016 15:01:27 +0200 Message-ID: References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a1143661e622423053b49ada1 X-Trace: blaine.gmane.org 1472562535 28691 195.159.176.226 (30 Aug 2016 13:08:55 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 30 Aug 2016 13:08:55 +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 Tue Aug 30 15:08:47 2016 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 1beimT-0006XM-Pu for ged-emacs-devel@m.gmane.org; Tue, 30 Aug 2016 15:08:46 +0200 Original-Received: from localhost ([::1]:49095 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1beimR-0003MR-Cc for ged-emacs-devel@m.gmane.org; Tue, 30 Aug 2016 09:08:43 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56403) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1beimL-0003Ho-44 for emacs-devel@gnu.org; Tue, 30 Aug 2016 09:08:38 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1beimF-0000QR-PM for emacs-devel@gnu.org; Tue, 30 Aug 2016 09:08:36 -0400 Original-Received: from mail-ua0-x235.google.com ([2607:f8b0:400c:c08::235]:34408) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1beimF-0000QK-JN for emacs-devel@gnu.org; Tue, 30 Aug 2016 09:08:31 -0400 Original-Received: by mail-ua0-x235.google.com with SMTP id k90so31182244uak.1 for ; Tue, 30 Aug 2016 06:08:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=Tc49EaCCVz/Hr5tZac4dWkmQ6ejpHup6ysmeazUnLNA=; b=poOoUlFW39a6T67H2c69L1relfSyAAw7h8vO+BuKaRAS2Lya50AUIgSXvu0zyq6jlv cmj1HwBNz0k2DuzmLzkWaRoHtQ0V2b25iBAyYQ+dU1xPbj4g7G7Et/G54poCkVmV20EJ 5PzFyECxXFq8cv2JJazJO02yzY0jP4eY0jBO/Q6uAxeDVICgt3VdLc9XXEWLS4vMTDPq RcZfTYIib+XgDlQs1D0QRGQmw8hUbA6n3hJp9PPVfmaRDYfY+Wm4lHpMF2KhLfRaeZSc OCSwmQxLeIs8KRHAcPIrOebSZ1DrNvMSR0YvjqTSAQYcN0jlXonhUKq5VHyb3i9qrB89 BUyw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=Tc49EaCCVz/Hr5tZac4dWkmQ6ejpHup6ysmeazUnLNA=; b=PqG6G2ZlH3ALXNKgR3H8aT1wUMpn9IdyFLjLYXrKc71yxSIQI2scYcBl/xZn+KvlYh MNBdAbofWX+Xlr3kFOWfESEkycZ8KzCf6ydylhgy/Vsizm6D6vFolE4jgcFP9GTxnkit 5Bz+0KBzlZuIMAIqQUfz2GhOv9opiJe7/RTBtN1kRYUVFppfBUk74174ZaNwFkg2SDe6 DcvDJK5sM7sOx+TZhUkU+vNUv9+FKJSVqITwDBGTWOqrN5OnKiFYPaQjyy0fZaQ2dtvW tZNuYJc5ZlifnWSTwUVH6WdI0rP2oPxwro3MULu7lHxiEMx8jv9+VAwOiVBlbI6o9GSz pCDA== X-Gm-Message-State: AE9vXwOVMR8BudDZ9D7cruEpwzvp2D6c7SDeKCoxagOExdVj2oyvYta9+YfYX3aliplZESY8nPE7rwc5JdJs9Q== X-Received: by 10.31.142.7 with SMTP id q7mr1982414vkd.125.1472562511082; Tue, 30 Aug 2016 06:08:31 -0700 (PDT) Original-Received: by 10.176.4.41 with HTTP; Tue, 30 Aug 2016 06:01:27 -0700 (PDT) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2607:f8b0:400c:c08::235 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:206928 Archived-At: --001a1143661e622423053b49ada1 Content-Type: text/plain; charset=UTF-8 > > >> I wanted to implement a file browser for image files > > > > Do you know about image-dired? > > I imagine you'll dislike how it makes the thumbnails; bug#10758. > > I think it's pretty ... bad. :-) > Hi Lars Magne, heja Norge! Since I initially wrote that little hack for my own needs, I know it was useful for me back then, which means I will not take any offense :) Also, since Richard approached me about including it in Emacs I thought it might be of at least half-decent quality... Out of curiosity, is there something in particular that is bad about it, or do you dislike the whole thing? :-P I don't have much need for it anymore but I did try it last year, just to see if it still worked, and I thought it was quite simple to use, several years after I stopped using it myself. As a local/personal hack, it's no problem but I never liked that it relies on all those external tools, but there were no other options back then. Perhaps the ImageMagick tools are not that bad in that they are quite common, but then there is jpegtrans (for rotation, IIRC) and some Exif tool as well... Whatever you think of it, the approach of using thumbnails quite easily avoids the issue you seem to want to solve. Perhaps you should give it a try again, if you haven't already? By the way, does anyone on the list know how much of the image handling (create thumbnails and other resized versions of an image, non-lossy rotatation of JPEG and Exif manipulation) that can be done if Emacs is built with ImageMagick libs? /Mathias PS. There are some parts of image-dired.el that are really half-cooked. For example there was some code to create HTML image galleries and some sort of slideshow stuff that I'm not that proud of (but once server some need). It's hard to know if we could rip such stuff out without risking annoying users who might be using it... --001a1143661e622423053b49ada1 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
>>= I wanted to implement a file browser for image files
>
> Do you know about image-dired?
> I imagine you'll dislike how it makes the thumbnails; bug#10758.
I think it's pretty ... bad.=C2=A0 :-)

Hi Lars Magne, heja Norge!

Since I= initially wrote that little hack for my own needs, I know it was useful fo= r me back then, which means I will not take any offense :) Also, since Rich= ard approached me about including it in Emacs I thought it might be of at l= east half-decent quality...

Out of curiosity, is t= here something in particular that is bad about it, or do you dislike the wh= ole thing? :-P I don't have much need for it anymore but I did try it l= ast year, just to see if it still worked, and I thought it was quite simple= to use, several years after I stopped using it myself. As a local/personal= hack, it's no problem but I never liked that it relies on all those ex= ternal tools, but there were no other options back then. Perhaps the ImageM= agick tools are not that bad in that they are quite common, but then there = is jpegtrans (for rotation, IIRC) and some Exif tool as well...
<= br>
Whatever you think of it, the approach of using thumbnails qu= ite easily avoids the issue you seem to want to solve. Perhaps you should g= ive it a try again, if you haven't already?

By= the way, does anyone on the list know how much of the image handling (crea= te thumbnails and other resized versions of an image, non-lossy rotatation = of JPEG and Exif manipulation) that can be done if Emacs is built with Imag= eMagick libs?

/Mathias

PS= . There are some parts of image-dired.el that are really half-cooked. For e= xample there was some code to create HTML image galleries and some sort of = slideshow stuff that I'm not that proud of (but once server some need).= It's hard to know if we could rip such stuff out without risking annoy= ing users who might be using it...

--001a1143661e622423053b49ada1--