Bug 372568 - Krita (.kra) thumbnails are not showed
Summary: Krita (.kra) thumbnails are not showed
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Thumbs-Image (show other bugs)
Version: 5.3.0
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-11-17 00:20 UTC by Rafael Linux User
Modified: 2020-08-02 21:29 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 Rafael Linux User 2016-11-17 00:20:53 UTC
Thumbnails of Krita files (.kar extension) are not rasterized.
Comment 1 caulier.gilles 2016-11-17 05:19:22 UTC
version 5.5.0 do not exists. Which digiKam version you use exactly ?

The KRA image is managed through a dedicated Image loader, provided separately by KDE.

Gilles Caulier
Comment 2 Rafael Linux User 2016-11-18 19:38:18 UTC
You have reason. Is Digikam 5.3 version. Anyway, I can see that Digikam is showing some KRA files thumbnails, but not others, so I can't understand what's the problem.
Comment 3 caulier.gilles 2016-11-19 16:59:06 UTC
Well, i suspect a packaging problem.

To confirm try to use current development digiKam AppImage bundle for Linux available here :

https://drive.google.com/open?id=0BzeiVr-byqt5Y0tIRWVWelRJenM

Gilles Caulier
Comment 4 Rafael Linux User 2016-11-19 22:21:12 UTC
Hi Gilles

I tried the appimage, and sadly it shows nothing for KRA files (an empty square) without any image content (canvas size) information. 

(In reply to caulier.gilles from comment #3)
> Well, i suspect a packaging problem.
> 
> To confirm try to use current development digiKam AppImage bundle for Linux
> available here :
> 
> https://drive.google.com/open?id=0BzeiVr-byqt5Y0tIRWVWelRJenM
> 
> Gilles Caulier
Comment 5 caulier.gilles 2016-11-20 16:27:44 UTC
Problem reproducible here with AppImage too :

digikam.metaengine: Cannot load metadata from file   (Error # 11 :  /home/gilles/Images/DSC00604.kra: The file contains data of an unknown image type
digikam.general: Trying to load Embedded preview with libraw
digikam.rawengine: Failed to load embedded RAW preview
digikam.general: Trying to load half preview with libraw
digikam.general: Trying to load Embedded preview with Exiv2
digikam.metaengine: Cannot load metadata using Exiv2   (Error # 11 :  /home/gilles/Images/DSC00604.kra: The file contains data of an unknown image type
digikam.dimg: "/home/gilles/Images/DSC00604.kra"  : QIMAGE file identified
digikam.dimg.qimage: Can not load " "/home/gilles/Images/DSC00604.kra" " using DImg::QImageLoader!
digikam.general: mimetype =  "KRA"  ext =  "KRA"
digikam.general: Cannot create thumbnail for  "/home/gilles/Images/DSC00604.kra"
digikam.general: Thumbnail is null for  "/home/gilles/Images/DSC00604.kra"

...even if KRA Qt image loader from KImageFormats framework is installed in the bundle :

[gilles@localhost imageformats]$ pwd
/digikam.appdir/usr/plugins/imageformats
[gilles@localhost imageformats]$ ls -al
total 1112
drwxr-xr-x.  2 root root   4096 Nov 19 16:30 .
drwxr-xr-x. 20 root root   4096 Nov 19 16:30 ..
-rwxr-xr-x.  1 root root  38840 Nov 19 16:30 kimg_eps.so
-rwxr-xr-x.  1 root root  14152 Nov 19 16:30 kimg_kra.so
-rwxr-xr-x.  1 root root  14152 Nov 19 16:30 kimg_ora.so
-rwxr-xr-x.  1 root root  24896 Nov 19 16:30 kimg_pcx.so
-rwxr-xr-x.  1 root root  30352 Nov 19 16:30 kimg_pic.so
-rwxr-xr-x.  1 root root  20088 Nov 19 16:30 kimg_psd.so
-rwxr-xr-x.  1 root root  19960 Nov 19 16:30 kimg_ras.so
-rwxr-xr-x.  1 root root  32504 Nov 19 16:30 kimg_rgb.so
-rwxr-xr-x.  1 root root  18032 Nov 19 16:30 kimg_tga.so
-rwxr-xr-x.  1 root root  62264 Nov 19 16:30 kimg_xcf.so
-rwxr-xr-x.  1 root root  47128 Nov 19 16:30 libqdds.so
-rwxr-xr-x.  1 root root  28856 Nov 19 16:30 libqgif.so
-rwxr-xr-x.  1 root root  38296 Nov 19 16:30 libqicns.so
-rwxr-xr-x.  1 root root  28984 Nov 19 16:30 libqico.so
-rwxr-xr-x.  1 root root  33336 Nov 19 16:30 libqjp2.so
-rwxr-xr-x.  1 root root  50104 Nov 19 16:30 libqjpeg.so
-rwxr-xr-x.  1 root root  22936 Nov 19 16:30 libqsvg.so
-rwxr-xr-x.  1 root root  21688 Nov 19 16:30 libqtga.so
-rwxr-xr-x.  1 root root  33240 Nov 19 16:30 libqtiff.so
-rwxr-xr-x.  1 root root  20728 Nov 19 16:30 libqwbmp.so
-rwxr-xr-x.  1 root root 477528 Nov 19 16:30 libqwebp.so
[gilles@localhost imageformats]$ 

So no idea for the moment...

Gilles Caulier
Comment 6 caulier.gilles 2020-08-02 13:10:07 UTC
digiKam 7.0.0 stable release is now published:

https://www.digikam.org/news/2020-07-19-7.0.0_release_announcement/

We need a fresh feedback on this file using this version.

Best Regards

Gilles Caulier
Comment 7 caulier.gilles 2020-08-02 13:11:25 UTC
Rafael,

see also the bug #412374 which is similar to this one and fixed with 7.0.0.

Gilles Caulier
Comment 8 Rafael Linux User 2020-08-02 20:05:01 UTC
(In reply to caulier.gilles from comment #7)
> Rafael,
> 
> see also the bug #412374 which is similar to this one and fixed with 7.0.0.
> 
> Gilles Caulier

Both bugs was the same, reported by me, but the first one was reported in 2016 ... I even didn't remember that I notified it so many time ago.

Anyway, is solved  ;)