View Issue Details

IDProjectCategoryView StatusLast Update
0000252fileGeneralpublic2023-04-17 12:46
Reportermalat Assigned Tochristos  
PrioritynormalSeverityminorReproducibilityalways
Status assignedResolutionreopened 
Product Version5.38 
Fixed in Version5.41 
Summary0000252: mime-type: image/jpeg instead of image/jls
DescriptionIt would be nice to disambiguate 'image/jpeg' vs 'image/jls' mime type as seen in the example attached.

$ file --mime-type filelogo.jls
filelogo.jls: image/jpeg

with:

$ file --version
file-5.38
magic file from /etc/magic:/usr/share/misc/magic


For reference:

* https://www.iana.org/assignments/media-types/image/jls

Implementation used to generate this JPEG-LS file is at:

* https://github.com/team-charls/charls
Steps To Reproduce$ file --mime-type filelogo.jls
filelogo.jls: image/jpeg
TagsNo tags attached.

Activities

malat

2021-03-31 07:40

reporter  

filelogo.jls (16,386 bytes)

christos

2021-04-19 18:58

manager   ~0003591

Added, thanks!

malat

2023-04-13 13:37

reporter   ~0003922

It seems the issue is back. At least on Debian:

% file --mime-type filelogo.jls
filelogo.jls: image/jpeg

with:

% file --version
file-5.44
magic file from /etc/magic:/usr/share/misc/magic

* https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1034353

malat

2023-04-17 12:46

reporter   ~0003923

Upstream regression, bisect led to

    commit 19d5ac6c83fb5d0d9a3868f0f6f2709b1f11882f
    Author: Christos Zoulas <christos@zoulas.com>
    Date: Sat Aug 28 12:30:52 2021 +0000

        restore jpeg strength to beat msdos boot sector

    Christoph

Issue History

Date Modified Username Field Change
2021-03-31 07:40 malat New Issue
2021-03-31 07:40 malat File Added: filelogo.jls
2021-04-19 18:58 christos Assigned To => christos
2021-04-19 18:58 christos Status new => assigned
2021-04-19 18:58 christos Status assigned => resolved
2021-04-19 18:58 christos Resolution open => fixed
2021-04-19 18:58 christos Fixed in Version => 5.41
2021-04-19 18:58 christos Note Added: 0003591
2023-04-13 13:37 malat Status resolved => feedback
2023-04-13 13:37 malat Resolution fixed => reopened
2023-04-13 13:37 malat Note Added: 0003922
2023-04-17 12:46 malat Note Added: 0003923
2023-04-17 12:46 malat Status feedback => assigned