Skip to content

Storage optimization with compressed file format? #5

Open
lim185 opened this issue Feb 23, 2023 · 0 comments
Open

Storage optimization with compressed file format? #5

lim185 opened this issue Feb 23, 2023 · 0 comments
Assignees
Labels
question Further information is requested

Comments

@lim185
Copy link
Contributor

lim185 commented Feb 23, 2023

Currently we store images as 16-bit depth tiff files. Saving the images in lossless compressed format (e.g. png) instead of the uncompressed tiff format can save considerable amount of storage. A test image from alpha prime shows raw / compressed file size ratio of 1.79. However, the tradeoff is the runtime; in the above test the runtime was 3.74 times slower with the compressed format (because the code has to perform decompression on the fly for every image).

Depending on what we decide to prioritize, we can either keep the current format or switch. It will not affect other resources (e.g. memory).

@lim185 lim185 added the question Further information is requested label Feb 23, 2023
@lim185 lim185 added this to the code streamlining milestone Feb 23, 2023
@lim185 lim185 self-assigned this Feb 23, 2023
Sign in to join this conversation on GitHub.
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant