[digiKam-users] Version 6 idea: store thumbnails as JPEG instead of PGF

Gilles Caulier caulier.gilles at gmail.com
Sat Mar 17 21:57:41 GMT 2018


I github, there is a project to build a PHP based web interface to digiKam.
I Never tested.

https://github.com/mehdilauters/digikamWebUi

But why you need a web interface when a UPNP/DLNA solution already exists ?

Gilles Caulier

2018-03-14 15:47 GMT+01:00 Tac Tacelosky <tacman at gmail.com>:

> Thanks, Gilles,
>
> Poking around the source code, I see that at one point there was some
> support for storing JPEG thumbnails, but it's been hard-coded to PGF files:
>
> https://github.com/KDE/digikam/blob/9330f9c1e25ce754f374abac840bef
> 2521a032ca/libs/threadimageio/thumbnailcreator.cpp#L737-L762
>
> Unfortunately, my C skills are ancient, and my sys-admin skills are pretty
> weak as well, so I haven't been able to get the PGF console command to work
> on my 64-bit Ubuntu installation.  I think I've compiled the pgf library
> okay, but the pgf console tool fails on finding freeimageplus, even after
> installing it (well, I think I installed it).
>
> So I'll keep playing around with alternative solutions to at least
> prototype my idea.
>
> Has anyone else worked on a web-based interface to DigiKam?  I'll like to
> brainstorm about it, is another thread on this forum the right place to
> start?
>
> Tac
>
>
> On Sun, Mar 11, 2018 at 1:01 PM, Gilles Caulier <caulier.gilles at gmail.com>
> wrote:
>
>> Hi,
>>
>> Typically, using JPEG as a really disadvantage about thumbnail quality,
>> especially with Hdpi screen. For that, I'm not favorable to propose JPEG as
>> thumbs storage in DB.
>>
>> But i still open. Your request is to create a digiKam back-end to a
>> web-based view photo collections. There are other standards for the web,
>> emerging step by step, based on wavelets compression, as Webp or Heic.
>>
>> https://www.cnet.com/news/google-offers-jpeg-alternative-for-faster-web/
>> https://www.cnet.com/news/google-mozilla-av1-photo-format-
>> could-outdo-aging-jpeg/
>>
>> Both Webp and Heic are supported by ImageMagick, so PHP must do the
>> conversion in background :
>>
>> https://www.imagemagick.org/script/formats.php
>>
>> In other words, we need space optimization, quality and speed. For the 2
>> first ones, JPEG is not the right solution.
>>
>> Else about PGF, which is not supported by ImageMagick, a simple converter
>> exists with libpgf, and can be called easily by PHP on you web server...
>>
>> https://sourceforge.net/p/libpgf/code/HEAD/tree/trunk/pgf/
>>
>> Best
>>
>> Gilles Caulier
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/digikam-users/attachments/20180317/9d716dd7/attachment.html>


More information about the Digikam-users mailing list