unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: "Christopher M. Miles" <numbchild@gmail.com>
To: Emacs Help <help-gnu-emacs@gnu.org>
Subject: [QUESTION] why there is a horizontal line in middle of text-property displayed image?
Date: Mon, 12 Sep 2022 08:54:11 +0800	[thread overview]
Message-ID: <26117.8868169495$1662948073@news.gmane.org> (raw)


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


Question: As the email subject said.

Here is the two screenshots:

*NOTE*: The image itself does not have this horizontal line.

The point is on image:


[-- Attachment #1.2: point is on image --]
[-- Type: image/png, Size: 197757 bytes --]

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


The point is not on image:


[-- Attachment #1.4: the point is not on image --]
[-- Type: image/png, Size: 199168 bytes --]

[-- Attachment #1.5: Type: text/plain, Size: 669 bytes --]


Here is the prototype code which displaying image with text-property:

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

- If this is some kind of internal mechanism of Emacs, can someone explain why?

- If have some method to remove those horizontal lines. How to do it?

-- 

[ 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-12  0:54 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-09-12  0:54 Christopher M. Miles [this message]
     [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

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='26117.8868169495$1662948073@news.gmane.org' \
    --to=numbchild@gmail.com \
    --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.
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).