[Digikam-devel] [digikam] [Bug 338887] New: digikam generated pgf broken/incompatible

Robert Riemann robert at riemann.cc
Sun Sep 7 21:32:10 BST 2014


https://bugs.kde.org/show_bug.cgi?id=338887

            Bug ID: 338887
           Summary: digikam generated pgf broken/incompatible
           Product: digikam
           Version: 4.2.0
          Platform: openSUSE RPMs
                OS: Linux
            Status: UNCONFIRMED
          Severity: major
          Priority: NOR
         Component: Preview
          Assignee: digikam-devel at kde.org
          Reporter: robert at riemann.cc

I thought about converting my photo library (6000x4000, Nikon) to jp2 or pgf to
save disk space.

I didn't considered the batch mode to start the conversation, as it doesn't
support all CPUs. I went with gnu parallel and imagemagick.
convert  -resize 2000x2000 -auto-orient DSC_3319.JPG
/tmp/DSC_3319_imagemagick.jpg

The produced file works in dolphin, gwenview and in the thumbnail folder view
of digikam. However, I get an error when opening the big preview for the pgf
file.

digikam(11548)/digikam (core) Digikam::PreviewLoadingTask::execute: Cannot
extract preview for  "/path/DSC_3319_imagemagick.pgf"

I did another test. I used the batch mode to create a pgf file within digikam.
The result is a file, which is not recognized by dolphin nor gwenview, but only
works within digikam.

file DSC_3319_imagemagick2.pgf
DSC_3319_imagemagick2.pgf: JPEG image data, JFIF standard 1.01

file DSC_3319_digikam.pgf
DSC_3319_digikam.pgf: data

I have the same behavior with jpeg 2004.

digiKam version 4.2.0
CPU cores: 4
Exiv2 can write to Jp2: Yes
Exiv2 can write to Jpeg: Yes
Exiv2 can write to Pgf: Yes
Exiv2 can write to Png: Yes
Exiv2 can write to Tiff: Yes
Exiv2 supports XMP metadata: Yes
LibCImg: 130
LibEigen: 3.2.0
LibExiv2: 0.23
LibJPEG: 80
LibJasper: 1.900.1
LibKDE: 4.11.5
LibKExiv2: 2.3.1
LibKGeoMap: 2.0.0
LibKdcraw: 2.3.1
LibLCMS: 119
LibLensFun: 0.2.8-0
LibPGF: 6.12.24 - external shared library
LibPNG: 1.6.6
LibQt: 4.8.5
LibRaw: 0.15.3
LibTIFF: LIBTIFF, Version 4.0.3 Copyright (c) 1988-1996 Sam Leffler Copyright
(c) 1991-1996 Silicon Graphics, Inc.
Marble Widget: 0.16.5 (stable version)
Parallelized PGF codec: No
Parallelized demosaicing: No
RawSpeed codec support: No
Database backend: QSQLITE
Kipi-Plugins: 4.2.0
LibGphoto2: 2.5.2.1
LibKface: 3.0.0
LibKipi: 2.1.0
LibOpenCV: 2.4.6.1


Reproducible: Always


Actual Results:  
I cannot create pgf images with digikam, because the files are uncompatible to
my desktop environment KDE.

Expected Results:  
I can use the files created by imagemagick in all applications including
digikam.

-- 
You are receiving this mail because:
You are the assignee for the bug.



More information about the Digikam-devel mailing list