]> git.eshelyaron.com Git - emacs.git/commit
Improve thumbnail generation on MS-Windows
authorEli Zaretskii <eliz@gnu.org>
Sat, 1 Jun 2024 12:22:11 +0000 (15:22 +0300)
committerEshel Yaron <me@eshelyaron.com>
Sat, 1 Jun 2024 17:05:00 +0000 (19:05 +0200)
commitfe54210b8abf0716afb1f09d299bcbd17a5f1c9b
treee08cdfba62582d187086040174a08c98fe74b211
parent7c2327549485eb0abf9befbca20d8573729d60c3
Improve thumbnail generation on MS-Windows

* lisp/image/image-dired-external.el (image-dired-create-thumb-2):
Optimize PNG thumbnails.
(image-dired-pngnq-thumb, image-dired-pngcrush-thumb)
(image-dired-optipng-thumb): On MS-Windows, invoke the PNG
optimization programs synchronously.
(image-dired-cmd-create-thumbnail-program)
(image-dired-cmd-create-thumbnail-options)
(image-dired-cmd-pngcrush-program)
(image-dired-cmd-optipng-program)
(image-dired-cmd-create-standard-thumbnail-options)
(image-dired-cmd-rotate-original-program)
(image-dired-temp-rotate-image-file)
(image-dired-cmd-write-exif-data-program)
(image-dired-cmd-write-exif-data-options): Doc fixes.
(image-dired-thumb-queue-run): Don't allow more than 30 concurrent
thumbnail-creation jobs on MS-Windows.

(cherry picked from commit e42da81f54ec7d3ddcb70b54fa461c7dd6c3b101)
lisp/image/image-dired-external.el