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

classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|

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

Robert Riemann-2
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: [hidden email]
          Reporter: [hidden email]

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.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 338887] digikam generated pgf broken/incompatible

Robert Riemann-2
https://bugs.kde.org/show_bug.cgi?id=338887

--- Comment #1 from Robert Riemann <[hidden email]> ---
Created attachment 88607
  --> https://bugs.kde.org/attachment.cgi?id=88607&action=edit
created with imagemagick, doesn't work in digikam

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 338887] digikam generated pgf broken/incompatible

Robert Riemann-2
In reply to this post by Robert Riemann-2
https://bugs.kde.org/show_bug.cgi?id=338887

--- Comment #2 from Robert Riemann <[hidden email]> ---
Created attachment 88608
  --> https://bugs.kde.org/attachment.cgi?id=88608&action=edit
created with digikam, doesn't work in gwenview.

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 338887] digikam generated pgf broken/incompatible

Gilles Caulier-4
In reply to this post by Robert Riemann-2
https://bugs.kde.org/show_bug.cgi?id=338887

Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]

--- Comment #3 from Gilles Caulier <[hidden email]> ---
1/ Are you sure that ImageMAgick is able to generate PGF ?

2/ your command line is wrong :

convert  -resize 2000x2000 -auto-orient DSC_3319.JPG
/tmp/DSC_3319_imagemagick.jpg

==> /tmp/DSC_3319_imagemagick.jpg ==> /tmp/DSC_3319_imagemagick.pgf

Gilles Caulier

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 338887] FILEIO : digikam generated pgf broken/incompatible

Gilles Caulier-4
In reply to this post by Robert Riemann-2
https://bugs.kde.org/show_bug.cgi?id=338887

Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|digikam generated pgf       |FILEIO : digikam generated
                   |broken/incompatible         |pgf broken/incompatible
          Component|Preview                     |Image Editor
         Resolution|---                         |DUPLICATE
             Status|UNCONFIRMED                 |RESOLVED

--- Comment #4 from Gilles Caulier <[hidden email]> ---
>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.

==> you have generated a JPEG file, not a 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.

==> It's normal. You have generated a right PGF file and KDE do not have a PGF
plugin loader. See bug#273366

Gilles Caulier

*** This bug has been marked as a duplicate of bug 273366 ***

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 338887] FILEIO : digikam generated pgf broken/incompatible

Robert Riemann-2
In reply to this post by Robert Riemann-2
https://bugs.kde.org/show_bug.cgi?id=338887

--- Comment #5 from Robert Riemann <[hidden email]> ---
Thanks for your comments. It's actually true. I find it a bit confusing that
imagemagick doesn't report an unknown destination file format.

I had to install imagemagick-extra and jasper to be able to create jpeg 2000
files. They work within all applications, but even though the files are only
about 1 MB, it takes way to long to get a preview to consider this format as a
practical alternative.  Are there any studies about this?

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 338887] FILEIO : digikam generated pgf broken/incompatible

bugzilla_noreply
In reply to this post by Robert Riemann-2
https://bugs.kde.org/show_bug.cgi?id=338887

[hidden email] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|ImageEditor                 |ImageEditor-FileIO

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 338887] FILEIO : digikam generated pgf broken/incompatible

bugzilla_noreply
In reply to this post by Robert Riemann-2
https://bugs.kde.org/show_bug.cgi?id=338887

[hidden email] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|FilesIO-Engine              |FilesIO-PGF

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