Warn before converting animated images to non-animated formats
Nobody has claimed this yet.
- Dominant language
- Dart
- Stars
- 5.3k
- Forks
- 230
- Avg merge
- 5h 59m
- Merged PRs (30d)
- 11
Description
Is your feature request related to a problem? Please describe.
I noticed some images didn’t support tagging and rating. They were WebP (.webp) images, so I assumed metadata editing isn’t supported for WebP files.
I used Aves’ search to find all .webp images, selected them all, and converted them to JPEG (no quality loss) so I could manage their metadata. I checked some of the converted images and they looked great so i deleted the originals.
I later realized some of those WebP images were animated. Converting them to JPEG cause data loss, only a single still frame of the animation is left. Thankfully I had a backup, but others may be less fortunate.
Describe the solution you'd like
If the user attempts to convert an animated image to a format that doesn’t support animation, show a clear confirmation dialog warning about data loss.
Example single-image message:
"Data-loss warning: converting to JPEG will capture only a single frame of this animated image. Continue?"
Example batch-message if the selection includes animations:
"Data-loss warning: some selected images are animated. Converting to JPEG will turn each animated image into a still frame. Continue?"
Describe alternatives you've considered
One could search for WebP files that aren’t animated before converting, but that’s something you only think to do after being burned once or twice.
Additional context
I like Aves!
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 image-conversion entry point and how single-image and batch conversions identify animated images. Reproduce conversion to JPEG with an animated image and with a mixed selection, then confirm that the warning appears before conversion and clearly describes the possible loss of animation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- dart, flutter
- Domain
- mobile-dev
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100