PGF filesize

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

PGF filesize

S. Burmeister
Hey everybody!

I think I remember that some weeks ago, when I saved an image in PGF, disabled
lossless and put the quality slider to 9, i.e. lowest quality, the picture was
only a few hundred kb big.

Now when I save such a picture it is at least 1,5 MB big, even if it only has
two mega pixel.

Does my memory trick me or is there some regression which disables lossy
saving?

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

Re: PGF filesize

Gilles Caulier-4
Which version of libpgf you use ? Go to Help/Components Info for details.

Do you use current git master code, where i updated indeep libpgf ?

Gilles Caulier

2011/6/21 Sven Burmeister <[hidden email]>
Hey everybody!

I think I remember that some weeks ago, when I saved an image in PGF, disabled
lossless and put the quality slider to 9, i.e. lowest quality, the picture was
only a few hundred kb big.

Now when I save such a picture it is at least 1,5 MB big, even if it only has
two mega pixel.

Does my memory trick me or is there some regression which disables lossy
saving?

Sven
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel


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

Re: PGF filesize

S. Burmeister
Am Mittwoch, 22. Juni 2011, 08:29:55 schrieb Gilles Caulier:
> Which version of libpgf you use ? Go to Help/Components Info for details.

digiKam version 2.0.0-rc
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
LibClapack: internal library
LibExiv2: 0.20
LibJPEG: 62
LibJasper: 1.900.1
LibKDE: 4.6.4 (4.6.4)
LibKExiv2: 2.0.0
LibKMap: 2.0.0
LibKdcraw: 2.0.0
LibLCMS: 119
LibPGF: 6.11.24 - internal library
LibPNG: 1.2.44
LibQt: 4.7.3
LibRaw: 0.13.5
LibTIFF: LIBTIFF, Version 3.9.4 Copyright (c) 1988-1996 Sam Leffler Copyright
(c) 1991-1996 Silicon Graphics, Inc.
Marble Widget: 0.11.2 (Stable Release)
Parallelized demosaicing: Yes
Database backend: QSQLITE
LibGphoto2: 2.4.10
LibKface: 2.0.0
LibKipi: 1.2.0
LibOpenCV: 2.2.0
Libface: 0.2


> Do you use current git master code, where i updated indeep libpgf ?

yes.

Sven

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

Re: PGF filesize

Gilles Caulier-4
Between 1.9.0 and 2.0.0, there is a few small size difference :


Gilles Caulier

2011/6/22 Sven Burmeister <[hidden email]>
Am Mittwoch, 22. Juni 2011, 08:29:55 schrieb Gilles Caulier:
> Which version of libpgf you use ? Go to Help/Components Info for details.

digiKam version 2.0.0-rc
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
LibClapack: internal library
LibExiv2: 0.20
LibJPEG: 62
LibJasper: 1.900.1
LibKDE: 4.6.4 (4.6.4)
LibKExiv2: 2.0.0
LibKMap: 2.0.0
LibKdcraw: 2.0.0
LibLCMS: 119
LibPGF: 6.11.24 - internal library
LibPNG: 1.2.44
LibQt: 4.7.3
LibRaw: 0.13.5
LibTIFF: LIBTIFF, Version 3.9.4 Copyright (c) 1988-1996 Sam Leffler Copyright
(c) 1991-1996 Silicon Graphics, Inc.
Marble Widget: 0.11.2 (Stable Release)
Parallelized demosaicing: Yes
Database backend: QSQLITE
LibGphoto2: 2.4.10
LibKface: 2.0.0
LibKipi: 1.2.0
LibOpenCV: 2.2.0
Libface: 0.2


> Do you use current git master code, where i updated indeep libpgf ?

yes.

Sven

_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel


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

Re: PGF filesize

S. Burmeister
Am Mittwoch, 22. Juni 2011, 12:36:41 schrieb Gilles Caulier:
> Between 1.9.0 and 2.0.0, there is a few small size difference :
>
> http://www.flickr.com/photos/digikam/5859258197/sizes/o/in/photostream/
>
> http://www.flickr.com/photos/digikam/5859258245/sizes/o/in/photostream/

I found the reason!

If one saves a JPG to PGF, the size is small, i.e. ~100kb for a 10 MPx image.

However if one demosaics a RAW picture, crops it to only 2 MPx and saves it as
lossy low quality PGF it still has 1,5 MB, i.e. 15 times as big as saving from
JPG although it only has 1/5 of the size.

Is this a bug?

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

Re: PGF filesize

Gilles Caulier-4


2011/6/22 Sven Burmeister <[hidden email]>
Am Mittwoch, 22. Juni 2011, 12:36:41 schrieb Gilles Caulier:
I found the reason!

If one saves a JPG to PGF, the size is small, i.e. ~100kb for a 10 MPx image.

JPG = > 8 bits / color /pixel image !
 

However if one demosaics a RAW picture, crops it to only 2 MPx and saves it as
lossy low quality PGF it still has 1,5 MB, i.e. 15 times as big as saving from
JPG although it only has 1/5 of the size.


RAW = > 16 bits / color /pixel image !

 
Is this a bug?

no. It's normal. Try this :

load JPEG in editor and save it as PGF. Look size.
reload JPEG in editor and switch color depth to 16 bits (Colors Menu). Now save it as PGF. Lokk size...

Gilles Caulier
 

Sven
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel


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

Re: PGF filesize

S. Burmeister
Am Mittwoch, 22. Juni 2011, 13:30:27 schrieb Gilles Caulier:
> no. It's normal. Try this :
>
> load JPEG in editor and save it as PGF. Look size.
> reload JPEG in editor and switch color depth to 16 bits (Colors Menu). Now
> save it as PGF. Lokk size...

Yep, that works. One day I'll get that bpp and bits thing with pictures. :)

Thanks!

Sven
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel