Bug 420601 - write metadata to a jpg file ok, but not for a jpeg file
Summary: write metadata to a jpg file ok, but not for a jpeg file
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Maintenance-Metadata (show other bugs)
Version: 7.0.0
Platform: Microsoft Windows Microsoft Windows
: NOR major
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-04-26 04:59 UTC by riyoxo6891
Modified: 2020-08-30 16:00 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 7.1.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description riyoxo6891 2020-04-26 04:59:59 UTC
SUMMARY
metadata not written to a file

STEPS TO REPRODUCE
1. let digikam recognize a picture as "JPEG" (not "JPG")
2. assign a tag
3. size of a picture does not change, (it does if it is "JPG")


SOFTWARE/OS VERSIONS
Windows: 10

ADDITIONAL INFORMATION
the bug exists from earlier versions to 7.0 beta3
Comment 1 Maik Qualmann 2020-04-26 06:12:54 UTC
It doesn't matter whether the file has the extension "JPG" or "JPEG". Just tested here again. Please upload a sample image in which no tags can be written.

Maik
Comment 2 riyoxo6891 2020-04-26 06:37:16 UTC
thank you.
i found that digicam windows cannot recognize certain characters
such as below, and that is why writing metadata always fail.
and such files with invalid filename for digikam are likely to be displayed as "JPEG".

‼︎
>
<
:
?

for example:
‼︎.jpg
Comment 3 Maik Qualmann 2020-04-26 06:44:51 UTC
Yes, all characters in the file name must be within the current code page. We don't have a solution for that yet. All libraries used by digiKam must use Windows UTF16 internally.

Maik
Comment 4 Maik Qualmann 2020-04-26 06:46:01 UTC

*** This bug has been marked as a duplicate of bug 420195 ***
Comment 5 caulier.gilles 2020-08-30 16:00:19 UTC
Fixed with #420195