# Media Viewer Application A high-performance media viewer for Windows 11 using Rust. ## Features - Native Windows UI integration (no WebView components) - Support for common image formats: JPG, PNG, BMP, GIF, TIFF, WebP - Keyboard navigation controls (arrow keys, zoom controls) - Fullscreen mode capability - File browsing functionality - Modern Windows 11 styling patterns ## Implementation Status This is a prototype implementation with the following characteristics: ### Core Functionality Implemented - Media viewer configuration and state management - Image metadata handling - Navigation controls (previous/next images) - Zoom functionality (in/out/reset) - Fullscreen toggle capability ### Limitations of Current Implementation 1. **No actual image loading**: The code structure is present but does not actually load or display images 2. **No Windows API integration**: The application is a console-based prototype that demonstrates the architecture but lacks native UI elements 3. **No real file browsing**: File system integration is not implemented ### Architecture Components The application follows a modular architecture: 1. **Core Viewer Logic** - State Management - Configuration - Metadata Handling 2. **Image Processing** - Format Support - Loading & Rendering (prototype only) - Optimization 3. **UI Framework** - Windows Integration - Native Controls - Styling 4. **Navigation System** - File Browsing - Image Sequences - Playback Controls 5. **Performance Features** - Caching - Memory Management - Rendering Optimization ## Build Instructions ```bash cargo build cargo run ``` ## Usage The application demonstrates the intended functionality through console output. To see a working media viewer, additional implementation would be required for: 1. Actual image loading capabilities with format support 2. Windows UI components using winapi or other native UI crates 3. File browsing and selection functionality 4. Real rendering of images in the application window 5. Extension to support video and audio formats ## Future Enhancements - Implement actual image loading capabilities with format support - Add proper Windows UI components using winapi or similar crates - Implement file system browsing for media files - Add real-time rendering of images in the UI - Extend to support video and audio formats - Implement advanced features like batch processing and metadata editing ## Development Notes This prototype provides a foundation for building a full-featured media viewer. The current code demonstrates the structure and intended architecture but lacks actual implementation of core features.