From: Lars Ingebrigtsen <larsi@gnus.org>
To: awrhygty@outlook.com
Cc: 54493@debbugs.gnu.org
Subject: bug#54493: 27.2; image-convert :data broken
Date: Mon, 21 Mar 2022 17:35:07 +0100 [thread overview]
Message-ID: <8735jbtgas.fsf@gnus.org> (raw)
In-Reply-To: <TYZPR01MB3920EF585530382EC15813F4C3169@TYZPR01MB3920.apcprd01.prod.exchangelabs.com> (awrhygty@outlook.com's message of "Mon, 21 Mar 2022 22:02:12 +0900")
awrhygty@outlook.com writes:
> I tried to view non-native image files.
> I need not only to set variables, but also to modify a function.
> The externally converted data is broken by automatic code-conversion.
I can reproduce this in Emacs 27.2, but not on the trunk, so it looks
like this has been fixed. Here's my test case:
(insert-image
(create-image
(with-temp-buffer
(set-buffer-multibyte nil)
(insert-file-contents "/home/larsi/src/WebKit/LayoutTests/fast/css/resources/bikes.bmp")
(buffer-string))
nil t :format 'image/bmp))
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
next prev parent reply other threads:[~2022-03-21 16:35 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-03-21 13:02 bug#54493: 27.2; image-convert :data broken awrhygty
2022-03-21 16:35 ` Lars Ingebrigtsen [this message]
2022-03-21 16:59 ` Eli Zaretskii
2022-03-21 17:14 ` Lars Ingebrigtsen
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=8735jbtgas.fsf@gnus.org \
--to=larsi@gnus.org \
--cc=54493@debbugs.gnu.org \
--cc=awrhygty@outlook.com \
/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.