<feed xmlns='http://www.w3.org/2005/Atom'>
<title>emacs/lisp/image, branch scratch/markers-as-gap-array</title>
<subtitle>Emacs is the extensible, customizable, self-documenting real-time display editor. 
</subtitle>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/'/>
<entry>
<title>; Improve diagnostics in Image Dired</title>
<updated>2024-06-02T11:14:10+00:00</updated>
<author>
<name>Eli Zaretskii</name>
</author>
<published>2024-06-02T11:14:10+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=4303e5c9fa37368b50677f21aba977758f100e3c'/>
<id>4303e5c9fa37368b50677f21aba977758f100e3c</id>
<content type='text'>
* lisp/image/image-dired-external.el
(image-dired--check-executable-exists): Improve diagnostics.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* lisp/image/image-dired-external.el
(image-dired--check-executable-exists): Improve diagnostics.
</pre>
</div>
</content>
</entry>
<entry>
<title>; * lisp/image/image-dired-external.el (image-dired-set-exif-data): Doc fix.</title>
<updated>2024-06-02T05:37:57+00:00</updated>
<author>
<name>Eli Zaretskii</name>
</author>
<published>2024-06-02T05:37:57+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=a0519d6d09c6df86adc658a89e97926bb352eb05'/>
<id>a0519d6d09c6df86adc658a89e97926bb352eb05</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Improve error handling in 'image-dired-thumbnail-set-image-description'.</title>
<updated>2024-06-01T17:50:40+00:00</updated>
<author>
<name>Eli Zaretskii</name>
</author>
<published>2024-06-01T17:50:40+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=8ecf1a995fc318ea055cbc71f9223340feb2acd0'/>
<id>8ecf1a995fc318ea055cbc71f9223340feb2acd0</id>
<content type='text'>
* lisp/image/image-dired-external.el
(image-dired-thumbnail-set-image-description): Show more detailed
error messages in case of failure.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* lisp/image/image-dired-external.el
(image-dired-thumbnail-set-image-description): Show more detailed
error messages in case of failure.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix misc problems with thumbnails on MS-Windows</title>
<updated>2024-06-01T13:43:18+00:00</updated>
<author>
<name>Eli Zaretskii</name>
</author>
<published>2024-06-01T13:43:18+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=d2dce513445d7235c9f751ea6d9b4847d62882e7'/>
<id>d2dce513445d7235c9f751ea6d9b4847d62882e7</id>
<content type='text'>
* lisp/image/image-dired-external.el (image-dired-pngcrush-thumb):
Fix deletion of intermediate file.
(image-dired-cmd-pngcrush-options)
(image-dired-cmd-create-standard-thumbnail-options): Use %u for
file:// URI.
(image-dired--file-URI): New function.
(image-dired-create-thumb-1, image-dired-create-thumb-2)
(image-dired-set-exif-data): Use it to generate correct URI on
MS-Windows.

* src/w32image.c (Fw32image_create_thumbnail): Copy the file names
before mirroring their slashes.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* lisp/image/image-dired-external.el (image-dired-pngcrush-thumb):
Fix deletion of intermediate file.
(image-dired-cmd-pngcrush-options)
(image-dired-cmd-create-standard-thumbnail-options): Use %u for
file:// URI.
(image-dired--file-URI): New function.
(image-dired-create-thumb-1, image-dired-create-thumb-2)
(image-dired-set-exif-data): Use it to generate correct URI on
MS-Windows.

* src/w32image.c (Fw32image_create_thumbnail): Copy the file names
before mirroring their slashes.
</pre>
</div>
</content>
</entry>
<entry>
<title>; Fix a typo.</title>
<updated>2024-06-01T12:37:51+00:00</updated>
<author>
<name>Eli Zaretskii</name>
</author>
<published>2024-06-01T12:37:51+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=b4a93b4484c7406a395f1c1f3e8d1236138ba2a9'/>
<id>b4a93b4484c7406a395f1c1f3e8d1236138ba2a9</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>; * lisp/image/image-dired.el (w32-shell-execute): Declare.</title>
<updated>2024-06-01T12:33:10+00:00</updated>
<author>
<name>Eli Zaretskii</name>
</author>
<published>2024-06-01T12:33:10+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=bed63ea922a4e13bd3d6fbb3e7e7f2b408779d3b'/>
<id>bed63ea922a4e13bd3d6fbb3e7e7f2b408779d3b</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>; Fix compilation warning in 'image-dired-external.el'</title>
<updated>2024-06-01T12:30:03+00:00</updated>
<author>
<name>Eli Zaretskii</name>
</author>
<published>2024-06-01T12:30:03+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=de7e3c33241923ab44b3cda8b237281f00c6b49d'/>
<id>de7e3c33241923ab44b3cda8b237281f00c6b49d</id>
<content type='text'>
* lisp/image/image-dired-external.el (w32image-create-thumbnail):
Declare.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* lisp/image/image-dired-external.el (w32image-create-thumbnail):
Declare.
</pre>
</div>
</content>
</entry>
<entry>
<title>Improve thumbnail generation on MS-Windows</title>
<updated>2024-06-01T12:22:11+00:00</updated>
<author>
<name>Eli Zaretskii</name>
</author>
<published>2024-06-01T12:22:11+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=e42da81f54ec7d3ddcb70b54fa461c7dd6c3b101'/>
<id>e42da81f54ec7d3ddcb70b54fa461c7dd6c3b101</id>
<content type='text'>
* 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.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* 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.
</pre>
</div>
</content>
</entry>
<entry>
<title>Support built-in thumbnail creation on MS-Windows</title>
<updated>2024-05-30T14:45:33+00:00</updated>
<author>
<name>Eli Zaretskii</name>
</author>
<published>2024-05-30T14:45:33+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=ae7d0e86b37eabc434c48f85f56df0a221e0e7c7'/>
<id>ae7d0e86b37eabc434c48f85f56df0a221e0e7c7</id>
<content type='text'>
* src/w32image.c (get_encoder_clsid, Fw32image_create_thumbnail)
(globals_of_w32image, syms_of_w32image): New functions.
* src/emacs.c (main): Call 'syms_of_w32image' and
'globals_of_w32image'.
* src/w32term.h (syms_of_w32image, globals_of_w32image): Add
prototypes.

* lisp/image/image-dired.el
(image-dired-thumbnail-display-external): Add a fallback for
MS-Windows.
* lisp/image/image-dired-external.el
(image-dired--probe-thumbnail-cmd): New function.
(image-dired--check-executable-exists): Call it to verify that
"convert" is indeed an Imagemagick program.  New argument FUNC
specifies a function that can be used as an alternative to running
EXECUTABLE.
(image-dired-create-thumb-1): Don't call
'image-dired--check-executable-exists' here, ...
(image-dired-thumb-queue-run): ...call it here, with
'w32image-create-thumbnail' as the alternative function.  If on
MS-Windows and no "convert" command, call
'image-dired-create-thumb-2' instead.
(image-dired-create-thumb-2): New function.

* etc/NEWS: Announce the thumbnail support.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* src/w32image.c (get_encoder_clsid, Fw32image_create_thumbnail)
(globals_of_w32image, syms_of_w32image): New functions.
* src/emacs.c (main): Call 'syms_of_w32image' and
'globals_of_w32image'.
* src/w32term.h (syms_of_w32image, globals_of_w32image): Add
prototypes.

* lisp/image/image-dired.el
(image-dired-thumbnail-display-external): Add a fallback for
MS-Windows.
* lisp/image/image-dired-external.el
(image-dired--probe-thumbnail-cmd): New function.
(image-dired--check-executable-exists): Call it to verify that
"convert" is indeed an Imagemagick program.  New argument FUNC
specifies a function that can be used as an alternative to running
EXECUTABLE.
(image-dired-create-thumb-1): Don't call
'image-dired--check-executable-exists' here, ...
(image-dired-thumb-queue-run): ...call it here, with
'w32image-create-thumbnail' as the alternative function.  If on
MS-Windows and no "convert" command, call
'image-dired-create-thumb-2' instead.
(image-dired-create-thumb-2): New function.

* etc/NEWS: Announce the thumbnail support.
</pre>
</div>
</content>
</entry>
<entry>
<title>Avoid another warning (bug#70942).</title>
<updated>2024-05-14T17:45:58+00:00</updated>
<author>
<name>Eli Zaretskii</name>
</author>
<published>2024-05-14T17:45:58+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=0a008401dc083bcba5bd704ba5eb866c03facdc2'/>
<id>0a008401dc083bcba5bd704ba5eb866c03facdc2</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
