[Digikam-users] File weight different in Digikam than in other file management tools

Martin Gerner martin at gerner.co
Mon Jan 20 21:35:38 GMT 2014


I assume that you mean that the same file seems to have two different
file sizes? This is likely due to different definitions of what a
"kilobyte" is.

The symbol "k" technically represents 1000, but in computer science
often means 1024 (2^10). 1024 should technically be called "Ki".

My guess would be that your file has a size of around 297490 bytes. This
would be 297.5 kilobyte using a 1000-byte kilobyte, or 290.5 kilobyte
using a 1024-byte kilobyte

You should find out how large the kilobytes in your contest is - 1000 or
1024 bytes. :)

Coincidentally, my version of Digikam (3.5) seems to use the correct
units - looking at the properties of one photo, I can see that its size
is 2.8 MiB (2.8 * 1024 * 1024 bytes). What version are you using?

--  Martin

On 20/01/14 21:03, Marie-Noëlle Augendre wrote:
> I just noticed  after having produced a JPEG file using the batch tool
> converter, that the resulting file weight was different in Digikam
> (290,5Kb) than in Nautilus (297,5Kb).
> This discrepancy is important when one needs to use pictures of the best
> quality but with a maximum weight (to participate in a contest, for
> example).
> Where does it come from? and could it be fixed?
> 
> Marie-Noëlle
> 
> -- 
> <http://marie-noelle-augendre.com/photos/>
> Retrouvez mon portfolio et mes activités dans ma galerie personnelle
> <http://marie-noelle-augendre.com/photos/>, mes reportages sur Jingoo
> <http://www.jingoo.com/mnaugendre/>
> Et bien sûr la page Photographe en Cévennes
> <http://www.facebook.com/PhotographeEnCevennes> sur FB, et mon compte
> Twitter <http://twitter.com/MNAugendre>.
> 
> 
> _______________________________________________
> Digikam-users mailing list
> Digikam-users at kde.org
> https://mail.kde.org/mailman/listinfo/digikam-users
> 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4240 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://mail.kde.org/pipermail/digikam-users/attachments/20140120/58217f12/attachment.bin>


More information about the Digikam-users mailing list