unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Kangas <stefan@marxist.se>
To: Glenn Morris <rgm@gnu.org>
Cc: 10758@debbugs.gnu.org
Subject: bug#10758: thumbs and image-dired to use built-in ImageMagick
Date: Wed, 27 Oct 2021 15:13:58 -0700	[thread overview]
Message-ID: <CADwFkmm1TDPdcWHB4DgYpeq5mksWBZBMeJUEUQsOOxt=1LWShQ@mail.gmail.com> (raw)
In-Reply-To: <CADwFkmkDn8jKJM2tp36AoVms8MjCX=UEVk=L0NS0mUq=0CXVmw@mail.gmail.com> (Stefan Kangas's message of "Fri, 22 Oct 2021 23:57:42 -0700")

Stefan Kangas <stefan@marxist.se> writes:

>> Glenn Morris <rgm@gnu.org> writes:
>>
>>> thumbs.el and image-dired.el both rely on using external ImageMagick
>>> utilities to resize/rotate images.
>>>
>>> If Emacs was compiled with ImageMagick support, then images of
>>> type imagemagick can be resized and rotated internally (see
>>> image-transform-*). These modes should use the internal support if
>>> it exists.
>>
>> So now that we have native image rotation and ImageMagick is on its
>> way to become deprecated, I assume that this bug should be taken to
>> mean that we want to use the built-in support here instead.

I fixed this in `image-dired' (see separate patch).

I guess we could rebase thumbs.el to also use the built-in image viewing
support, but I took a look and this external conversion seems built into
the foundation of how that library works.  So this looks to me like it
would amount to a rewrite of thumbs.el.  I could be wrong of course, but
that was my conclusion after poking at it for an hour or so.

Furthermore, at this point, image-dired.el is by far the more powerful
package, and it seems better implemented overall.  Although it borrows
heavily from thumbs.el (or at least it used to), thumbs.el seems fully
redundant these days.  However, it has some features that image-dired.el
does not, especially when it comes to modifying images.

So rather than attempting a rewrite of thumbs.el, the better solution
seems to me to add any important missing features from thumbs.el to
image-dired.el, and then obsoleting the former (not necessarily in that
order, but either way is fine to me).





  parent reply	other threads:[~2021-10-27 22:13 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-02-08  4:52 bug#10758: thumbs and image-dired to use built-in ImageMagick Glenn Morris
2019-11-01 22:47 ` Stefan Kangas
2021-10-23  6:57   ` Stefan Kangas
2021-10-24  9:14     ` Stefan Kangas
2021-10-24  9:45       ` Stefan Kangas
2021-10-25 19:02         ` Mathias Dahl
2021-10-25 19:37           ` Stefan Kangas
2021-10-27 22:14             ` Stefan Kangas
2021-11-04  1:08               ` Stefan Kangas
2021-10-27 22:13     ` Stefan Kangas [this message]
2021-12-07 22:46       ` Stefan Kangas

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CADwFkmm1TDPdcWHB4DgYpeq5mksWBZBMeJUEUQsOOxt=1LWShQ@mail.gmail.com' \
    --to=stefan@marxist.se \
    --cc=10758@debbugs.gnu.org \
    --cc=rgm@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).