[digiKam-users] Extracting thumbnails

Wesley Smith wss7932 at gmail.com
Thu May 14 01:08:04 BST 2020


I hate not being able to figure this out but, I have an issue.  I'm not at
all familiar with QT.  I'm using Windows 10 (latest stable build) and I
just installed cmake and Qt.  I followed the instructions but, cmake is not
able to find some things.  Here is the output:
>
> -- Selecting Windows SDK version 10.0.18362.0 to target Windows 10.0.18363.
> -- Could NOT find Qt5 (missing: Qt5_DIR)
> -- Configuring done
> CMake Error at CMakeLists.txt:21 (add_executable):
>   Target "pgfdatabase" links to target "Qt5::Core" but the target was not
>   found.  Perhaps a find_package() call is missing for an IMPORTED target,
> or
>   an ALIAS target is missing?
>
>
> CMake Error at CMakeLists.txt:21 (add_executable):
>   Target "pgfdatabase" links to target "Qt5::Gui" but the target was not
>   found.  Perhaps a find_package() call is missing for an IMPORTED target,
> or
>   an ALIAS target is missing?
>
>
> CMake Error at CMakeLists.txt:21 (add_executable):
>   Target "pgfdatabase" links to target "Qt5::Core" but the target was not
>   found.  Perhaps a find_package() call is missing for an IMPORTED target,
> or
>   an ALIAS target is missing?
>
>
> CMake Error at CMakeLists.txt:21 (add_executable):
>   Target "pgfdatabase" links to target "Qt5::Gui" but the target was not
>   found.  Perhaps a find_package() call is missing for an IMPORTED target,
> or
>   an ALIAS target is missing?
>
>
> CMake Error at CMakeLists.txt:21 (add_executable):
>   Target "pgfdatabase" links to target "Qt5::Core" but the target was not
>   found.  Perhaps a find_package() call is missing for an IMPORTED target,
> or
>   an ALIAS target is missing?
>
>
> CMake Error at CMakeLists.txt:21 (add_executable):
>   Target "pgfdatabase" links to target "Qt5::Gui" but the target was not
>   found.  Perhaps a find_package() call is missing for an IMPORTED target,
> or
>   an ALIAS target is missing?
>
>
> CMake Error at CMakeLists.txt:21 (add_executable):
>   Target "pgfdatabase" links to target "Qt5::Core" but the target was not
>   found.  Perhaps a find_package() call is missing for an IMPORTED target,
> or
>   an ALIAS target is missing?
>
>
> CMake Error at CMakeLists.txt:21 (add_executable):
>   Target "pgfdatabase" links to target "Qt5::Gui" but the target was not
>   found.  Perhaps a find_package() call is missing for an IMPORTED target,
> or
>   an ALIAS target is missing?
>
>
> CMake Error at CMakeLists.txt:21 (add_executable):
>   Target "pgfdatabase" links to target "Qt5::Core" but the target was not
>   found.  Perhaps a find_package() call is missing for an IMPORTED target,
> or
>   an ALIAS target is missing?
>
>
> CMake Error at CMakeLists.txt:21 (add_executable):
>   Target "pgfdatabase" links to target "Qt5::Gui" but the target was not
>   found.  Perhaps a find_package() call is missing for an IMPORTED target,
> or
>   an ALIAS target is missing?
>
>
> -- Generating done
> CMake Generate step failed.  Build files cannot be regenerated correctly.
>

Looks like missing Qt5_DIR.  I don't know how to resolve.

On Wed, May 13, 2020 at 9:06 AM Wesley Smith <wss7932 at gmail.com> wrote:

> This is fantastic news... I'll give this a go tonight.  Thank you.
>
> On Wed, May 13, 2020 at 8:17 AM Gilles Caulier <caulier.gilles at gmail.com>
> wrote:
>
>> Hi,
>>
>> I prepared a small set of codes to load compressed blob file from
>> database and convert to png.
>>
>> It's on my github account here:
>>
>> https://github.com/cgilles/digikam-pgf-database
>>
>> To compile, you need Qt5 devel package (core and gui) and cmake :
>>
>> git clone https://github.com/cgilles/digikam-pgf-database.git
>> cd digikam-pgf-database
>> mkdir build
>> cd build
>> cmake ..
>> make
>>
>> enjoy...
>>
>> Gilles Caulier
>>
>> Le mer. 13 mai 2020 à 14:39, Wesley Smith <wss7932 at gmail.com> a écrit :
>> >
>> > Ok. So that is a little beyond my knowledge base. Is there a way,
>> having exported the blobs, to decompress them?
>> > On May 12, 2020, 11:28 PM -0500, Maik Qualmann <metzpinguin at gmail.com>,
>> wrote:
>> >
>> > The actual blob is first of all a QByteArray compressed with qCompress.
>> >
>> > Maik
>> >
>> > Am Mittwoch, 13. Mai 2020, 05:05:41 CEST schrieb Gilles Caulier:
>> >
>> > Hi,
>> >
>> > blog are images in fact in wavelets compression format PGF :
>> > https://en.wikipedia.org/wiki/Progressive_Graphics_File
>> >
>> > Best
>> >
>> >
>> > Gilles Caulier
>> >
>> > Le mer. 13 mai 2020 à 04:56, Wesley Smith <wss7932 at gmail.com> a écrit :
>> >
>> > I have managed to lose an entire collection of images spanning years.
>> > I've tried every way to get them back but, they are gone. I can still
>> > see all of the thumbnails and so I know I can somehow extract them but,
>> I
>> > don't know how. It's the only thing I have left of them. I know they're
>> > small but, that's better than gone. I have tried opening the database in
>> > sqlite browser and extracting, I've tried a python script that was
>> > hopeful but, the files exported are not images, just *.blob. What can I
>> > do?
>> >
>> >
>> >
>> >
>> >
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/digikam-users/attachments/20200513/6f5d36ec/attachment-0001.htm>


More information about the Digikam-users mailing list