[Digikam-devel] Re: PGF files in KDE

Gilles Caulier caulier.gilles at gmail.com
Mon May 16 09:36:17 BST 2011


16 bits colors dept ==> 48 bits by pixels ( Red = 16 bits + Green = 16
bits + Blue = 16 bits)

In fact one pixel = 4*16 bits = 48 bits, not 24 bits.

24 bits by pixel want mean 3*8 = 24  ( Red = 8 bits + Green = 8 bits +
Blue = 8 bits)

Do not confound color depth by color component and and color depth for
all components for one pixel. One pixel is 3 color components...

Gilles Caulier

2011/5/16 Sven Burmeister <sven.burmeister at gmx.net>:
> Am Montag, 16. Mai 2011, 07:01:43 schrieb Gilles Caulier:
>> > Why is e.g. a 8 bpp jpg saved as 16 bpp PGF? Is that maybe a bug in
>> > digikam?
>>
>> In digiKam, an original 8 bits image (as JPEG) is always saved in 8
>> bits as PGF...
>
> No. Saving a 8 bpp jpg to pgf shows a bitdepth of even 24 bpp in digikam. So
> either digikam displays wrong information or increases the bpp from 8 to 24.
> Tested with a git checkout of digikam compilation from some days ago.
>
> Sven
> _______________________________________________
> Digikam-devel mailing list
> Digikam-devel at kde.org
> https://mail.kde.org/mailman/listinfo/digikam-devel
>



More information about the Digikam-devel mailing list