Bug 445431 - Export to Local Storage" with Option "Adjust image properties" fails for certain jpgs
Summary: Export to Local Storage" with Option "Adjust image properties" fails for cert...
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Plugin-WebService-FileTransfer (show other bugs)
Version: 7.4.0
Platform: macOS (DMG) macOS
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-11-13 17:36 UTC by Tom
Modified: 2021-12-13 10:21 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 7.4.0
Sentry Crash Report:


Attachments
Screenshot Export Window with settings (447.47 KB, image/png)
2021-11-13 17:36 UTC, Tom
Details
DigiKam Log (64.14 KB, text/plain)
2021-11-13 17:36 UTC, Tom
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tom 2021-11-13 17:36:37 UTC
Created attachment 143515 [details]
Screenshot Export Window with settings

"Export to Local Storage" with Option "Adjust image properties" fails for certain jpgs
Error Message: "Some of the items have not been copied and are still in the list. You can retry to copy these items now."

If "Adjust image properties" is not applied, the Export functions works fine.

Assumption: Jpegs larger than 12 MB fail. A sample-jpg (D85_6505.jpg) (17 MB) is attached.
Log File is also attached.

This problem might be related to [Bug 445061].

STEPS TO REPRODUCE
1.  Select one or more large jpg from Album
2.  Chose "Export to local Storage" (in my case a folder on a synology NAS)
3. select "Adjust image properties, 80%, jpg"
4. Start Export

OBSERVED RESULT
"Export to Local Storage" with Option "Adjust image properties" 

EXPECTED RESULT
A resized version of the selected jpg should have been exported to the NAS folder.

SOFTWARE/OS VERSIONS
macOS:  11.6 Big Sur
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 Tom 2021-11-13 17:36:58 UTC
Created attachment 143516 [details]
DigiKam Log
Comment 2 Tom 2021-11-13 17:38:07 UTC
Sample Image is too large to upload. Therefore I put it in a dropbox:
https://www.dropbox.com/s/nztyy14ye6nawji/D85_6505.jpg?dl=0
Comment 3 Maik Qualmann 2021-11-13 17:44:56 UTC
The problem has already been resolved in the GIT version, we have made a function to preserve the free memory under MacOS undone.

digikam.dimg: Error to get physical memory information form a recognized platform
digikam.dimg.jpeg: Cannot allocate memory!

See also Bug 445061

Maik