πΌοΈ A powerful and user-friendly image stitching tool built with pure HTML, CSS, and JavaScript.
- English and Chinese interface
- Automatic language preference saving
- Default language: English
- Drag and drop support
- Multiple image selection (up to 20 images)
- File size validation (max 5MB per image)
- Support for common image formats (PNG, JPEG, GIF, WebP)
- Real-time thumbnail grid display
- Drag to reorder images
- Horizontal Stitching: Arrange images in a single row
- Vertical Stitching: Stack images in a single column
- Grid Layout: Organize images in customizable rows and columns (1-10)
- Image Spacing: Adjustable spacing between images (0-50px)
- Background Colors: Transparent, white, black, light gray, or custom colors
- Image Size Options:
- Keep original size
- Uniform sizing (small/medium/large)
- Custom dimensions with width/height input (default 850Γ600)
- Quick size presets
- Alignment: Center, left, or right alignment options
- Grid Settings: Custom row and column configuration
- Border Radius: Adjustable corner rounding (0-50px)
- Shadow Effects:
- Adjustable shadow distance (0-30px)
- Custom shadow color
- Shadow opacity control (0-100%)
- Shadow angle adjustment (0-360Β°)
- Border Effects:
- Customizable border width (0-20px)
- Custom border color
- Output Modes:
- Stitched Image: Export the complete stitched composition
- Single Image: Export individual images with effects applied
- Interactive Cropping: Click and drag to select crop areas in single image mode
- Real-time Crop Info: Display crop area dimensions
- Reset Functionality: Restore images to original state
- Format Support: PNG (lossless) and JPEG (compressed)
- Quality Control: Adjustable JPEG quality (10-100%)
- Smart Canvas: Automatic canvas sizing based on content and effects
- One-click Download: Generate and download processed images
- Live preview of stitched images
- Instant updates when settings change
- Responsive canvas display
- Session storage for preserving work state
- Click the upload area to select files or drag and drop images
- Support multiple image selection
- View all uploaded images in the thumbnail grid
- Drag thumbnails to reorder images
- Click the "Γ" button on thumbnails to remove individual images
- Use "Clear All Images" to remove all images at once
- Choose stitching mode: horizontal, vertical, or grid
- Set row and column numbers for grid mode
- Adjust spacing, background color, alignment, and other parameters
- Add border radius for rounded corners
- Configure shadow effects with distance, color, and opacity
- Add border outlines with custom width and color
- View real-time preview in the preview area
- Choose output mode (stitched or single image)
- Select output format and quality
- Download your creation with one click
- Framework: Pure HTML5, CSS3, and JavaScript (ES6+)
- Canvas API: For image processing and rendering
- Local Storage: Session storage for preserving work state
- Responsive Design: Works on desktop and tablet devices
- Browser Compatibility: Modern browsers with Canvas support
- Performance: Optimized memory management and UI responsiveness
- β Chrome 60+
- β Firefox 55+
- β Safari 11+
- β Edge 79+
- β Internet Explorer (not supported)
- Maximum file size per image: 5MB
- Maximum number of images: 20
- Large image processing may consume significant memory
- Frontend-only implementation cannot validate image content security
- Download or clone this project
- Open
index.htmlin your web browser - Start uploading and stitching images!
The project includes 4 SVG demo images (demo-image-1.svg to demo-image-4.svg) for quick testing:
- demo-image-1.svg: 300Γ200, gradient background + circle
- demo-image-2.svg: 250Γ250, radial gradient + diamond
- demo-image-3.svg: 400Γ150, vertical gradient + rounded rectangle
- demo-image-4.svg: 200Γ300, horizontal gradient + ellipse
- Upload Images: Drag demo images or your own images to the upload area
- Arrange Order: Drag thumbnails to adjust image sequence
- Select Layout: Choose horizontal, vertical, or grid layout mode
- Adjust Parameters: Set spacing, background color, alignment, etc.
- Apply Effects: Add shadows, borders, and rounded corners
- Preview Results: View real-time stitching effects in preview area
- Download Images: Select format and quality, then download results
π€ Powered by Trae AI - This entire project was created using Trae AI, the world's best IDE for AI-powered development. Trae AI provided:
- Intelligent Code Completion: Advanced AI-powered code suggestions and auto-completion
- Real-time Error Detection: Instant debugging and error correction
- Automated Code Optimization: Performance improvements and best practice recommendations
- Seamless Technology Integration: Effortless integration of modern web technologies
- Advanced AI Assistance: Complex image processing algorithms and Canvas API implementation
- Multi-language Support: Intelligent internationalization and localization features
- UI/UX Enhancement: AI-driven interface design and user experience optimization
Trae AI's advanced coding assistance enabled the creation of sophisticated features like:
- Complex image processing and Canvas manipulation
- Real-time preview with multiple layout algorithms
- Advanced shadow and effect rendering systems
- Intuitive drag-and-drop interfaces
- Responsive design with cross-browser compatibility
- Efficient memory management for large image processing
image-factory/
βββ index.html # Main application file (complete standalone app)
βββ README.md # This documentation
βββ demo-image-1.svg # Demo image 1 (300Γ200)
βββ demo-image-2.svg # Demo image 2 (250Γ250)
βββ demo-image-3.svg # Demo image 3 (400Γ150)
βββ demo-image-4.svg # Demo image 4 (200Γ300)
- π Multi-language Support: Added English and Chinese interface switching
- π― Language Persistence: Automatic language preference saving
- π§ UI Improvements: Enhanced user interface with language selector
- π Documentation: Complete English README with Trae AI development notes
- π― Custom Output Dimensions: Support for specific width/height input (default 850Γ600)
- π Quick Size Presets: Common size quick selection buttons
- πΌοΈ Single Image Output Mode: Individual image preview and export
- βοΈ Interactive Cropping: Mouse selection cropping functionality
- π Real-time Crop Info: Live crop area dimension display
- π§ Download Optimization: Improved download logic and stability
- π« UI Enhancements: New output mode selector and improved control panel
- β¨ Image Style Effects: Comprehensive visual effects system
- π¨ Border Radius: Adjustable corner rounding (0-50px)
- π Shadow Effects: Distance, color, and opacity controls
- πΌοΈ Border Effects: Customizable width and color
- π§ Smart Canvas Sizing: Automatic canvas adjustment for effects
- π« Enhanced UI: New image style settings panel
- π― Real-time Preview: All effects support live preview and combinations
- π Initial Release: Core image stitching functionality
- π€ Multi-image Upload: Drag and drop with reordering
- π¨ Three Layout Modes: Horizontal, vertical, and grid layouts
- βοΈ Rich Customization: Comprehensive settings options
- πΎ Multiple Formats: PNG/JPEG export support
- π Real-time Preview: Live stitching preview
- πΎ Session Storage: Work state preservation
This project is open source and available under the MIT License.
Contributions are welcome! Please feel free to submit issues, feature requests, or pull requests.
This tool is for educational and personal use only. Please ensure you have the right to use any uploaded image content. The developer assumes no responsibility for user-uploaded content.
Created with β€οΈ using Trae AI - The World's Best AI-Powered IDE π€β¨
Experience the future of development with Trae AI's intelligent coding assistance!