Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Image database
#4
(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
Reply


Messages In This Thread
Image database - by DPaul - Oct-11-2022, 07:11 AM
RE: Image database - by rob101 - Oct-11-2022, 07:17 AM
RE: Image database - by DPaul - Oct-11-2022, 08:04 AM
RE: Image database - by rob101 - Oct-11-2022, 08:22 AM

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020