KBFS unwanted image compression, unable to upload text files
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 9.2k
- Forks
- 1.3k
- Avg merge
- 12h 58m
- Merged PRs (30d)
- 56
Description
Uploading images via android client to KBFS compresses the image and removes metadata. On top of that, animated GIFs and PNG are also compressed, deanimated and converted to JPG. This also happens to WEBP and HEIC images, where there are instances that the resulting JPG file is larger than the original WEBP/HEIC file.
It would be better if there is a way to disable this forced compression on images (and videos) when uploading photos.
And also it is a wonder why Android client cannot upload files to KBFS that are not image or video. Android devices are very well capable of creating/editing text files such as markdown documents so it is a bit disappointing that it is not possible to upload text files to KBFS via the Android client.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing the Android client's KBFS upload flow and determine where image and video handling rejects non-media files or transforms uploads. Reproduce the compression, metadata loss, animation loss, and text-file upload problems; done means uploads preserve supported media and accept text files without unwanted conversion.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, go, react-native
- Domain
- mobile
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100