Update README.md
This commit is contained in:
1 parent
c567833c43
commit
c75568628d
1 file changed
+70
-32
@@ -1,49 +1,87 @@
|
||||
# Media Viewer
|
||||
# Media Viewer Application
|
||||
|
||||
A high-performance media viewer for Windows 11 written in Rust, designed to provide a native Windows experience without WebView or web-based components.
|
||||
A high-performance media viewer for Windows 11 using Rust.
|
||||
|
||||
## Features
|
||||
|
||||
- Native Windows UI (no WebView)
|
||||
- Support for common image formats (JPG, PNG, BMP, GIF, TIFF, WebP)
|
||||
- Keyboard navigation (arrow keys, zoom controls)
|
||||
- Fullscreen mode
|
||||
- Zoom functionality
|
||||
- File browsing
|
||||
- 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
|
||||
|
||||
## Building
|
||||
## Implementation Status
|
||||
|
||||
To build the application:
|
||||
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
|
||||
```
|
||||
|
||||
To run the application:
|
||||
|
||||
```bash
|
||||
cargo run
|
||||
```
|
||||
|
||||
## Architecture
|
||||
## Usage
|
||||
|
||||
This is a skeleton implementation that demonstrates the core concept. A full implementation would include:
|
||||
1. Native Windows UI using winapi or similar crate
|
||||
2. Image loading and rendering with high performance
|
||||
3. Media format support (video, audio)
|
||||
4. File system browsing
|
||||
5. Full Windows 11 styling and behavior
|
||||
The application demonstrates the intended functionality through console output. To see a working media viewer, additional implementation would be required for:
|
||||
|
||||
## Supported Formats
|
||||
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
|
||||
|
||||
- JPEG (.jpg, .jpeg)
|
||||
- PNG (.png)
|
||||
- BMP (.bmp)
|
||||
- GIF (.gif)
|
||||
- TIFF (.tiff)
|
||||
- WebP (.webp)
|
||||
## Future Enhancements
|
||||
|
||||
## Requirements
|
||||
- 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
|
||||
|
||||
- Rust 1.70+
|
||||
- Windows 10/11
|
||||
## 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.
|
||||
Reference in new issue
Block a user