feat: add configurable compression level for zip downloads (Folder Share page, downloadPageFolder.html)#179
Merged
tobychui merged 4 commits intotobychui:2.022from Mar 20, 2025
Merged
Conversation
- Display thumbnail preview when hovering over image rows - Preview follows cursor movement with offset - Apply hover effect on entire row for better UX
…are page, downloadPageFolder.html) Added the ability to customize zip file compression levels: - Added new ArozZipFileWithCompressionLevel function that accepts compression level parameter - Added compression_level query parameter support to share downloads - Added UI checkbox to toggle between compressed/uncompressed downloads - Auto-detect when folder contains mostly media files (>= 50% in size) and pre-check uncompressed option - Updated compression help text to provide guidance on media files - Default compression level remains at flate.DefaultCompression (-1) The changes allow users to choose no compression for media-heavy folders to improve zipping speed, while maintaining regular compression for other content types.
GT-610
pushed a commit
to GT-610/arozos
that referenced
this pull request
Mar 21, 2025
…are page, downloadPageFolder.html) (tobychui#179) * feat: Add image thumbnail preview on row hover (downloadPageFolder) - Display thumbnail preview when hovering over image rows - Preview follows cursor movement with offset - Apply hover effect on entire row for better UX * feat: add configurable compression level for zip downloads (Folder Share page, downloadPageFolder.html) Added the ability to customize zip file compression levels: - Added new ArozZipFileWithCompressionLevel function that accepts compression level parameter - Added compression_level query parameter support to share downloads - Added UI checkbox to toggle between compressed/uncompressed downloads - Auto-detect when folder contains mostly media files (>= 50% in size) and pre-check uncompressed option - Updated compression help text to provide guidance on media files - Default compression level remains at flate.DefaultCompression (-1) The changes allow users to choose no compression for media-heavy folders to improve zipping speed, while maintaining regular compression for other content types. * lazy bug fix
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Added the ability to customize zip file compression levels:
The changes allow users to choose no compression for media-heavy folders to improve zipping speed, while maintaining regular compression for other content types.
Case for 500 jpegs of 2.5GB in total
10-20x faster processing if uncompressed
Before (default compression zipping)
After (uncompressed zipping)