[KimDaBa] Reducing memory consumption
Eivind
ekj at vestdata.no
Sun Jan 16 09:57:25 GMT 2005
On Saturday 15 January 2005 06:36, Robert L Krawitz wrote:
> MB -> 170 MB). However, it still seems like 80 MB is a bit high for
> the image in question, which is somewhere in the range of 5500x3500
> pixels (18 million pixels). Perhaps there's some way of reducing it
> some?
It ain't nessecarily that high. I'm am not quite sure what the current
KDE-libraries do, but atleast more and more image-handling libraries
internally use 4-byte pro pixel in order to store not only RGB info, but
also an alpha-channel. Doing so is required for example to handle
png-images properly.
4*18 million is 72 million, it's atleast in the same ballpark as the
memory-consumption you are seeing.
Sincerely,
Eivind Kjørstad
More information about the Kphotoalbum
mailing list