[digikam] [Bug 471147] webp files don't load, says "Failed to load image"

2023-06-17 Thread Philipp Keck
https://bugs.kde.org/show_bug.cgi?id=471147

--- Comment #5 from Philipp Keck  ---
Found the snap config here:
https://invent.kde.org/packaging/snapcraft-kde-applications/-/blob/Neon/release/digikam/snapcraft.yaml

Sadly running it locally requires LXD and thus a bunch of disk space and
patience that I don't currently have.

Could we solve this issue by adding something like `libkimageformat` (though
that particular probably one doesn't exist, I made it up) to one of the
packages sections in that config file? (And can we have the CI do the building,
so it doesn't require a local build environment?)

-- 
You are receiving this mail because:
You are watching all bug changes.

[digikam] [Bug 471147] webp files don't load, says "Failed to load image"

2023-06-17 Thread Philipp Keck
https://bugs.kde.org/show_bug.cgi?id=471147

--- Comment #4 from Philipp Keck  ---
First of all, I can confirm that the AppImage doesn't have this issue.

> Report the problem to Ubuntu, they should finally build a native digiKam 
> package.

They already have, right? https://packages.ubuntu.com/jammy/digikam

Just with jammy it's stuck at 7.5.0, which doesn't support webp yet.

> Use our AppImage instead, just make it executable and start it.

I'm a bit hesitant, because it wouldn't auto-update, as far as I understand.
One of my reasons for using Linux instead of Windows is not having to update
each and every application manually / separately.

> The snap package does not appear to contain the KImageFormat plugin.

Could that be changed? I can't find where the snap is built from.

-- 
You are receiving this mail because:
You are watching all bug changes.

[digikam] [Bug 471147] webp files don't load, says "Failed to load image"

2023-06-17 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=471147

caulier.gil...@gmail.com changed:

   What|Removed |Added

  Component|general |Bundle-Snap
 CC||caulier.gil...@gmail.com

-- 
You are receiving this mail because:
You are watching all bug changes.

[digikam] [Bug 471147] webp files don't load, says "Failed to load image"

2023-06-17 Thread Maik Qualmann
https://bugs.kde.org/show_bug.cgi?id=471147

--- Comment #3 from Maik Qualmann  ---
Snap is a bad container package format for digiKam. It uses a sandbox and has
many known issues. The snap package does not appear to contain the KImageFormat
plugin. KImageFormat is also used by Gwenview. Also, ExifTool doesn't work
either. Report the problem to Ubuntu, they should finally build a native
digiKam package.
Use our AppImage instead, just make it executable and start it. The upcoming
digiKam-8.1.0 as AppImage can be downloaded here:

https://files.kde.org/digikam/

Maik

-- 
You are receiving this mail because:
You are watching all bug changes.

[digikam] [Bug 471147] webp files don't load, says "Failed to load image"

2023-06-17 Thread Philipp Keck
https://bugs.kde.org/show_bug.cgi?id=471147

--- Comment #2 from Philipp Keck  ---
I use the snap: https://snapcraft.io/digikam

This repeats for every one of my webp files when I open the directory:

```
digikam.metaengine: Check ExifTool availability: false
digikam.metaengine: ExifTool is not available to load metadata...
digikam.metaengine: Loading metadata with "Exiv2" backend from
"/media//2577a254-6362-4df1-988e-f7dc44320a90.webp"
digikam.general: Trying to get thumbnail from
"/media//2577a254-6362-4df1-988e-f7dc44320a90.webp" ( "image" )
digikam.general: Trying to get thumbnail with Exiv2 for
"/media//2577a254-6362-4df1-988e-f7dc44320a90.webp"
digikam.general: Trying to get thumbnail with DImg preview for
"/media//2577a254-6362-4df1-988e-f7dc44320a90.webp"
digikam.general: Trying to get thumbnail from Embedded preview with libraw for
"/media//2577a254-6362-4df1-988e-f7dc44320a90.webp"
digikam.rawengine: Failed to load embedded RAW preview
digikam.general: Trying to get thumbnail from half preview with libraw for
"/media//2577a254-6362-4df1-988e-f7dc44320a90.webp"
digikam.general: Trying to get thumbnail from Embedded preview with Exiv2 for
"/media//2577a254-6362-4df1-988e-f7dc44320a90.webp"
digikam.dimg: "/media//2577a254-6362-4df1-988e-f7dc44320a90.webp" : Unknown
image format !!!
digikam.general: mimetype =  ""  ext =  "WEBP"
digikam.general: Cannot create thumbnail for
"/media//2577a254-6362-4df1-988e-f7dc44320a90.webp"
digikam.general: Thumbnail is null for 
"/media//2577a254-6362-4df1-988e-f7dc44320a90.webp"
```

And when I open one of those files, it's this:

```
digikam.metaengine: Check ExifTool availability: false
digikam.metaengine: ExifTool is not available to load metadata...
digikam.metaengine: Loading metadata with "Exiv2" backend from
"/media//9abd9ca2-09d8-4617-96cf-263979c5ebcc.webp"
digikam.general: Trying to get thumbnail from
"/media//9abd9ca2-09d8-4617-96cf-263979c5ebcc.webp" ( "image" )
digikam.general: Trying to get thumbnail with Exiv2 for
"/media//9abd9ca2-09d8-4617-96cf-263979c5ebcc.webp"
digikam.general: Trying to get thumbnail with DImg preview for
"/media//9abd9ca2-09d8-4617-96cf-263979c5ebcc.webp"
digikam.general: Trying to get thumbnail from Embedded preview with libraw for
"/media//9abd9ca2-09d8-4617-96cf-263979c5ebcc.webp"
digikam.rawengine: Failed to load embedded RAW preview
digikam.general: Trying to get thumbnail from half preview with libraw for
"/media//9abd9ca2-09d8-4617-96cf-263979c5ebcc.webp"
digikam.general: Trying to get thumbnail from Embedded preview with Exiv2 for
"/media//9abd9ca2-09d8-4617-96cf-263979c5ebcc.webp"
digikam.dimg: "/media//9abd9ca2-09d8-4617-96cf-263979c5ebcc.webp" : Unknown
image format !!!
digikam.general: mimetype =  ""  ext =  "WEBP"
digikam.general: Cannot create thumbnail for
"/media//9abd9ca2-09d8-4617-96cf-263979c5ebcc.webp"
digikam.general: Thumbnail is null for 
"/media//9abd9ca2-09d8-4617-96cf-263979c5ebcc.webp"
digikam.metaengine: ExifToolProcess::command(): cannot process command with
ExifTool ("-json", "-G:0:1:2:4:6", "-l",
"/media//9abd9ca2-09d8-4617-96cf-263979c5ebcc.webp")
digikam.metaengine: ExifTool cannot be sent: "Load Metadata"
digikam.metaengine: Check ExifTool availability: false
digikam.metaengine: ExifTool is not available to load metadata...
digikam.metaengine: Loading metadata with "Exiv2" backend from
"/media//9abd9ca2-09d8-4617-96cf-263979c5ebcc.webp"
digikam.general: Metadata loading with Exiv2 took 1 ms ( true )
digikam.general: Try to get preview from
"/media//9abd9ca2-09d8-4617-96cf-263979c5ebcc.webp"
digikam.general: Preview quality:  0
digikam.metaengine: Check ExifTool availability: false
digikam.metaengine: ExifTool is not available to load metadata...
digikam.metaengine: Loading metadata with "Exiv2" backend from
"/media//9abd9ca2-09d8-4617-96cf-263979c5ebcc.webp"
digikam.general: Try to load DImg preview from:
"/media//9abd9ca2-09d8-4617-96cf-263979c5ebcc.webp"
digikam.dimg: "/media//9abd9ca2-09d8-4617-96cf-263979c5ebcc.webp" : Unknown
image format !!!
digikam.general: Cannot extract preview for
"/media//9abd9ca2-09d8-4617-96cf-263979c5ebcc.webp"
digikam.general: Stacked View Mode :  1
digikam.general: FocusPointsGroup: no Point to load
digikam.metaengine: Check ExifTool availability: false
digikam.metaengine: ExifTool is not available to load metadata...
digikam.metaengine: Loading metadata with "Exiv2" backend from
"/media//9abd9ca2-09d8-4617-96cf-263979c5ebcc.webp"
digikam.general: Trying to get thumbnail from
"/media//9abd9ca2-09d8-4617-96cf-263979c5ebcc.webp" ( "image" )
digikam.general: Trying to get thumbnail with Exiv2 for
"/media//9abd9ca2-09d8-4617-96cf-263979c5ebcc.webp"
digikam.general: Trying to get thumbnail with DImg preview for
"/media//9abd9ca2-09d8-4617-96cf-263979c5ebcc.webp"
digikam.general: Trying to get thumbnail from Embedded preview with libraw for

[digikam] [Bug 471147] webp files don't load, says "Failed to load image"

2023-06-17 Thread Maik Qualmann
https://bugs.kde.org/show_bug.cgi?id=471147

Maik Qualmann  changed:

   What|Removed |Added

 CC||metzping...@gmail.com

--- Comment #1 from Maik Qualmann  ---
The WebP file works without problems here. Do you use the digiKam Ubuntu
packages or our AppImage?

Please set the Qt Debug variable and give us the log from the terminal when
trying to open the image.

https://www.digikam.org/contribute/

Maik

-- 
You are receiving this mail because:
You are watching all bug changes.