GNU bug report logs - #58373
Support image-type `jpg'

Previous Next

Package: emacs;

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.

Full log


View this message in rfc822 format

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Stefan Kangas <stefankangas <at> gmail.com>
Cc: 58373 <at> debbugs.gnu.org, Thuna <thuna.cing <at> gmail.com>
Subject: bug#58373: Support image-type `jpg'
Date: Sat, 08 Oct 2022 15:16:29 +0200
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.




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.