Oct-11-2022, 08:22 AM
(Oct-11-2022, 08:04 AM)DPaul Wrote: Years ago TIF was chosen because of lossless compression, and future compatibility.
If i convert to jpg or png, using PIL, I could save at least 50% storage space.
Any opinion on that ?
Thanks,
Paul
You're very welcome.
My opinion about image database storage would not change. Aside from the database overhead, it's also a disk space double usage, as you'll have the image file on disk as well as in the database. That said, disk space is now way less of an issue than once was, but even so, why be wasteful.
As for the image file itself, it depends on what the files are being used for and if you need to convert them to save on disk storage space or bandwidth, if said files are going back and forth over a computer network. If neither is an issue, then I'll leave them as TIFF files.
Sig:
>>> import this
The UNIX philosophy: "Do one thing, and do it well."
"The danger of computers becoming like humans is not as great as the danger of humans becoming like computers." :~ Konrad Zuse
"Everything should be made as simple as possible, but not simpler." :~ Albert Einstein
>>> import this
The UNIX philosophy: "Do one thing, and do it well."
"The danger of computers becoming like humans is not as great as the danger of humans becoming like computers." :~ Konrad Zuse
"Everything should be made as simple as possible, but not simpler." :~ Albert Einstein