2.6 KiB
2.6 KiB
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
- No actual image loading: The code structure is present but does not actually load or display images
- No Windows API integration: The application is a console-based prototype that demonstrates the architecture but lacks native UI elements
- No real file browsing: File system integration is not implemented
Architecture Components
The application follows a modular architecture:
-
Core Viewer Logic
- State Management
- Configuration
- Metadata Handling
-
Image Processing
- Format Support
- Loading & Rendering (prototype only)
- Optimization
-
UI Framework
- Windows Integration
- Native Controls
- Styling
-
Navigation System
- File Browsing
- Image Sequences
- Playback Controls
-
Performance Features
- Caching
- Memory Management
- Rendering Optimization
Build Instructions
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:
- Actual image loading capabilities with format support
- Windows UI components using winapi or other native UI crates
- File browsing and selection functionality
- Real rendering of images in the application window
- 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.