feat: GIF quality and compression preset - #598
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (10)
🚧 Files skipped from review as they are similar to previous changes (10)
📝 WalkthroughWalkthroughThis PR adds high, balanced, and small GIF quality presets. It integrates the presets with GIF encoding, editor state, project persistence, export settings, preferences, and the export settings menu. ChangesGIF Quality Preset Feature
Estimated code review effort: 3 (Moderate) | ~20 minutes Mergeability Score: ⚪ Minimal · up to This PR adds selectable GIF compression presets while retaining balanced behavior by default; no actionable merge-blocking risk remains beyond normal checks and review. Sequence Diagram(s)sequenceDiagram
participant ExportSettingsMenu
participant VideoEditor
participant resolveExportStartSettings
participant GifExporter
ExportSettingsMenu->>VideoEditor: Select gifQualityPreset
VideoEditor->>resolveExportStartSettings: Resolve GIF settings with preset
resolveExportStartSettings-->>VideoEditor: Return gifConfig.qualityPreset
VideoEditor->>GifExporter: Create exporter with qualityPreset
GifExporter->>GifExporter: Resolve numeric encoder quality
Possibly related PRs
🚥 Pre-merge checks | ✅ 3 | ❌ 2❌ Failed checks (2 warnings)
✅ Passed checks (3 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
23fae67 to
64931d0
Compare
Summary
low(fast, small file),balanced(default - current behavior),high(slow, larger file).src/lib/exporter/types.tsfor the typed preset, the ExportSettingsMenu UI, and VideoEditor's invocation path.balanced.cc @meiiie - picking up your 2026-05-09 re-up invitation. Happy to adjust the preset boundaries or naming if you'd prefer different defaults.
Closes #336.
AI was used for assistance.
Summary by CodeRabbit
New Features
Bug Fixes
Tests