A collection of modern image processing tools built with TypeScript and Sharp.
This repository contains two main tools:
- Sharp File Converter - A desktop application for batch image processing
- Dynamic Image Processor - A VS Code extension for automated image optimization
A cross-platform desktop application for batch image processing and conversion built with Electron, React, and Sharp.
- 🖼️ Batch image processing and conversion
- 📐 Flexible image resizing options (width/height, long edge, short edge, percentage)
- 🎨 Support for multiple image formats (PNG, JPEG, WebP, AVIF)
- 💾 Customizable export settings
- 📋 Preset management for quick access to common settings
- 🌓 Dark mode support
- 🖥️ Native desktop experience with modern UI
A VS Code extension that automates image optimization and dimension detection for web development workflows.
- 🔄 Automatic conversion to AVIF format
- 📏 Automatic image dimension detection and insertion
- ⚙️ Configurable path prefixes for light/dark modes
- 🎯 Smart snippet insertion with accurate dimensions
- 🗑️ Optional original file cleanup
{
"dynamicImage.defaultPathPrefixLight": "/images/light",
"dynamicImage.defaultPathPrefixDark": "/images/dark",
"dynamicImage.defaultImageExtension": "avif"
}
# Clone the repository
git clone https://github.com/fluid-design-io/image-converters.git
# Navigate to project directory
cd sharp-image-tools
# Install dependencies
npm install
- Open VS Code
- Press
Ctrl+Shift+X
orCmd+Shift+X
- Search for "Dynamic Image Processor"
- Click Install
- Core: TypeScript, Sharp
- Desktop App:
- Electron + React
- Tailwind CSS + Radix UI
- React Hook Form + Zod
- Framer Motion
- VS Code Extension:
- VS Code Extension API
- Sharp for image processing
├── apps/
│ ├── desktop/src/ # Sharp File Converter
│ │ ├── main/ # Electron main process
│ │ └── renderer/ # React renderer
│ └── vscode/ # Dynamic Image Processor extension
- Advanced image processing options
- Preset management
- Batch processing
- Preview thumbnails
- Drag-and-drop interface
- Automatic AVIF conversion
- Image dimension detection
- Custom path configuration
- Smart code snippet insertion
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature
) - Commit your changes (
git commit -m 'Add some amazing feature'
) - Push to the branch (
git push origin feature/amazing-feature
) - Open a Pull Request
Both projects are licensed under the MIT License - see the LICENSE file for details.