Closed FrancescAlted closed 8 years ago
The chunk-size and typesizes are hardcoded defaults that don't depend on the size if the input. If the user changes those values, it is his or her responsibility to "get it right"? But then again, if you want this feature you should implement it, I guess.
Indeed. This is just a friendly reminder about the convenience for this.
For example, when trying to compress an image file with 24bit depth:
whereas if we help bloscpack passing a chunksize (via
-z
):Adding a more adaptative chunksize calculation would save the user to have to pass the chunksize manually.
This example is based on: https://github.com/Cyan4973/zstd/issues/256