jingrow bbf4527a12 feat: implement client-side image compression with Canvas API
- Add imageResize utility using native Canvas API
- Compress images to max 1024x1024px before upload
- Support contain mode for proportional scaling
- Integrate compression into file upload, drag-drop, and URL loading flows
- Optimize memory management with proper URL cleanup
- Skip compression for images already below target size
2025-12-21 18:34:06 +08:00
..