-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Increase file size limitation in QR Code Generation #8
Comments
👋 Thanks for opening this issue! We appreciate your contribution. Please make sure you’ve provided all the necessary details and screenshots, and don't forget to follow our Guidelines and Code of Conduct. Happy coding! 🚀 |
great idea @Xolo978. seems good but for 2nd part i am not sure. i'll do some research later. for now try this |
Assign it to me as well, I will help. |
ok @GhostisLive |
@amanraox can u check if you can generate the qrcode, I cannot generate it after the new UI design. |
yes its working fine. |
@amanraox ok, its working now |
Additional Proposal: Offline File Sharing via Local Network Given the constraints of QR code capacity (even with splitting and compression), I propose an alternative approach for sharing files offline that could complement or replace the current QR code-only system. Proposed SolutionThe idea is to leverage the file sender's device (e.g., a computer) as a local server that other devices can connect to. Here's how it would work:
Advantages
Challenges and Considerations
Would this approach align with the project goals as a complement or alternative to the current QR-based system?
|
Problem: File Size Limitation in QR Code Generation
Description
The current implementation of the QR code generator tool supports encoding small files (< 2KB) into a single QR code. However, this limitation arises due to:
This restricts users from encoding slightly larger files (e.g., 2.5KB uncompressed), even after compression.
Proposed Approaches
Maximize QR Code Capacity:
pako.deflate
) to further reduce file size before encoding.Split Large Files into Multiple QR Codes:
Trade-offs
Maximizing QR Code Capacity:
Splitting Large Files:
Request for Feedback
Would you prefer to:
The text was updated successfully, but these errors were encountered: