GNU bug report logs -
#58373
Support image-type `jpg'
Previous Next
Reported by: Thuna <thuna.cing <at> gmail.com>
Date: Sat, 8 Oct 2022 01:44:02 UTC
Severity: normal
Tags: notabug
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 58373 in the body.
You can then email your comments to 58373 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#58373
; Package
emacs
.
(Sat, 08 Oct 2022 01:44:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Thuna <thuna.cing <at> gmail.com>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Sat, 08 Oct 2022 01:44:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
Currently, `jpg' is not in image-types, despite `jpeg' being in it.
Similarly, image descriptors of the form `(image :type jpg...)' do not
display properly, while those of the form `(image :type jpeg...)' do.
Changing the type from jpg to jpeg (for a jpg image) does display the
image, so it's not like Emacs is incapable of doing it; I imagine this
should be a trivial fix.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#58373
; Package
emacs
.
(Sat, 08 Oct 2022 10:37:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 58373 <at> debbugs.gnu.org (full text, mbox):
Thuna <thuna.cing <at> gmail.com> writes:
> Currently, `jpg' is not in image-types, despite `jpeg' being in it.
> Similarly, image descriptors of the form `(image :type jpg...)' do not
> display properly, while those of the form `(image :type jpeg...)' do.
The image type is really "JPEG" (and the MIME type "image/jpeg"), while
".jpg" just happens to be a commonly used file extension for that file
format. So what we have now is already correct, strictly speaking.
All the same, perhaps it would be convenient to allow "jpg" as an alias
for "jpeg". Would that risk introducing some backwards-incompatibility
with some package out there though?
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#58373
; Package
emacs
.
(Sat, 08 Oct 2022 13:17:02 GMT)
Full text and
rfc822 format available.
Message #11 received at 58373 <at> debbugs.gnu.org (full text, mbox):
Stefan Kangas <stefankangas <at> gmail.com> writes:
> The image type is really "JPEG" (and the MIME type "image/jpeg"), while
> ".jpg" just happens to be a commonly used file extension for that file
> format. So what we have now is already correct, strictly speaking.
>
> All the same, perhaps it would be convenient to allow "jpg" as an alias
> for "jpeg". Would that risk introducing some backwards-incompatibility
> with some package out there though?
It probably won't, but I don't think it would be a good idea to
introduce an alias here. It's less confusing to just have a simple
single mapping from type to backend.
So I don't think we should do anything here, and I'm therefore closing
this bug report.
Added tag(s) notabug.
Request was from
Lars Ingebrigtsen <larsi <at> gnus.org>
to
control <at> debbugs.gnu.org
.
(Sat, 08 Oct 2022 13:17:02 GMT)
Full text and
rfc822 format available.
bug closed, send any further explanations to
58373 <at> debbugs.gnu.org and Thuna <thuna.cing <at> gmail.com>
Request was from
Lars Ingebrigtsen <larsi <at> gnus.org>
to
control <at> debbugs.gnu.org
.
(Sat, 08 Oct 2022 13:17:02 GMT)
Full text and
rfc822 format available.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Sun, 06 Nov 2022 12:24:08 GMT)
Full text and
rfc822 format available.
This bug report was last modified 2 years and 224 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.