all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Christopher M. Miles" <numbchild@gmail.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: help-gnu-emacs@gnu.org
Subject: [ISSUE]  there is a horizontal line in middle of text-property displayed image?
Date: Tue, 13 Sep 2022 09:56:58 +0800	[thread overview]
Message-ID: <27366.9283998728$1663219405@news.gmane.org> (raw)
In-Reply-To: <83bkrk5yme.fsf@gnu.org>


[-- Attachment #1.1: Type: text/plain, Size: 805 bytes --]


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.


[-- Attachment #1.2: screenshot --]
[-- Type: image/png, Size: 1187287 bytes --]

[-- Attachment #1.3: Type: text/plain, Size: 779 bytes --]



> 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 #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]

  reply	other threads:[~2022-09-13  1:56 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <m2illt5rzj.fsf@numbchild@gmail.com>
2022-09-12 16:46 ` [QUESTION] why there is a horizontal line in middle of text-property displayed image? Eli Zaretskii
2022-09-13  1:56   ` Christopher M. Miles [this message]
     [not found]   ` <m2pmg0f2un.fsf@numbchild@gmail.com>
2022-09-15  6:22     ` [ISSUE] " Eli Zaretskii
     [not found] <m2illt5rzj.fsf@numbchild>
2022-10-01  2:53 ` Fwd: [QUESTION] why " Christopher M. Miles
     [not found] ` <6337ac4e.050a0220.c05b9.7747SMTPIN_ADDED_BROKEN@mx.google.com>
2022-10-01  5:37   ` Ihor Radchenko
2022-10-01  8:55     ` Christopher M. Miles
2022-10-01  8:58     ` Christopher M. Miles
     [not found]     ` <63380111.050a0220.592f2.fab7SMTPIN_ADDED_BROKEN@mx.google.com>
2022-10-01 10:33       ` Ihor Radchenko
2022-10-01 12:45         ` Christopher M. Miles
     [not found]         ` <63383737.050a0220.63781.8825SMTPIN_ADDED_BROKEN@mx.google.com>
2022-10-02  4:17           ` Ihor Radchenko
2022-10-02  7:03             ` Fwd: [BUG] text-property displayed image has a center-line when the text face has underline attribute Christopher M. Miles
2022-10-02  7:03             ` Christopher M. Miles
2022-10-02  7:41               ` Eli Zaretskii
2022-10-02 10:45                 ` [CLOSED] " Christopher M. Miles
2022-10-02 10:45                 ` Christopher M. Miles
2022-10-02 10:45                 ` Christopher M. Miles
2022-10-02 11:07                   ` Eli Zaretskii
2022-10-02 14:56                     ` Christopher M. Miles
2022-10-02 14:56                     ` Christopher M. Miles
2022-10-02 14:56                     ` Christopher M. Miles
     [not found]                 ` <63396d3d.050a0220.d98c9.1ea6SMTPIN_ADDED_BROKEN@mx.google.com>
2022-10-02 10:57                   ` Ihor Radchenko
2022-10-02 11:16                     ` Eli Zaretskii
2022-10-02 11:26                       ` Ihor Radchenko
2022-10-19  7:33                       ` [SOLVED] " Christopher M. Miles
2022-10-19  7:33                       ` Christopher M. Miles
2022-10-19  7:33                       ` Christopher M. Miles
2022-10-02  7:03             ` Fwd: [BUG] " Christopher M. Miles

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

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

  git send-email \
    --in-reply-to='27366.9283998728$1663219405@news.gmane.org' \
    --to=numbchild@gmail.com \
    --cc=eliz@gnu.org \
    --cc=help-gnu-emacs@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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.