help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ISSUE] there is a horizontal line in middle of text-property displayed


From: Christopher M. Miles
Subject: [ISSUE] there is a horizontal line in middle of text-property displayed image?
Date: Tue, 13 Sep 2022 09:56:58 +0800
User-agent: mu4e 1.8.9; emacs 29.0.50

Eli Zaretskii <eliz@gnu.org> writes:

>> From: "Christopher M. Miles" <numbchild@gmail.com>
>> Date: Mon, 12 Sep 2022 08:54:11 +0800
>> 
>> Question: As the email subject said.
>
> Does this happen with any image file?  If not, can you post the file
> with which it happens, or tell where one can download it?

It happens on all images which I using text-property to display that is
from Emacs package "org-link-beautify" https://repo.or.cz/org-link-beautify.git.

This package will generate and display a thumbnail image for org-mode
file: link of a video file.

>
> If it happens with any image file, does it happen in "emacs -Q"?
>

It happens in "emacs -Q" too. Here is the screenshot show the original
image has no horizontal center line. But in Emacs displayed has a line.

PNG image


> I tried to reproduce this with some random image file, but didn't see
> any such center-line.

Not image file, I use org-mode's command ~org-toggle-inline-images~ to
display image links are also fine has no center-line. But images
displayed in text-property has center-line. *NOTE*: happens on
text-property displayed images.

#+begin_src emacs-lisp
(put-text-property start end
                   'display (create-image thumbnail nil nil :ascent 'center 
:max-height thumbnail-size))
#+end_src

-- 

[ stardiviner ]
I try to make every word tell the meaning that I want to express without 
misunderstanding.

Blog: https://stardiviner.github.io/
IRC(libera.chat, freenode): stardiviner, Matrix: stardiviner
GPG: F09F650D7D674819892591401B5DF1C95AE89AC3

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]