A simple, efficient, and flexible cross-platform desktop image compression application.
- Mac: ✅ (macOS 12+)
- Windows: ✅ (Windows 10+ x64)
- Linux: ✅ (Ubuntu 20.04+ or other Linux distributions that support libstdc++ 11.3+)
Internationalization | Partial support: zh-CN, en-US | ✅ |
Dark/Light Theme | - | ✅ |
System Notifications | - | ✅ |
Startup on Boot | - | ✅ |
Auto Check for Updates | - | ✅ |
Compression Mode | Default use Tinypng, if Tinypng compression fails, switch to local compression for retry. | ✅ |
Compression Type | Optional lossless compression and lossy compression are available. When the image does not support lossless compression, switch to lossy compression | ✅ |
Compression Level | Five levels can be selected. When using lossy compression, setting a reasonable compression level can achieve the best visual effect. | ✅ |
Save Type | How to save compressed images after compression. | ✅ |
Compression Rate Limit | When the image compression rate is below the set threshold, saving will not be performed. | ✅ |
API Keys Management | Manage multiple TinyPNG API keys and provide functions such as availability detection and usage monitoring | ✅ |
Preserve Metadata | Select the metadata to preserve during compression. | ✅ |
- Powerful Batch Processing: Based on Rust implementation, it scans selected files or directories with high performance and low resource consumption, identifying and processing image files within them. Even 100,000+ images can be handled with ease.
- TinyPNG Integration: Optional TinyPNG compression is available, with account pool management for automatic selection during task processing. Supported image formats: PNG/Animated PNG, JPEG, WebP, AVIF.
- Offline Compression Support: Fully localized processing with rich compression option configurations (compression level, lossy/lossless, etc.). Supported image formats: PNG, JPEG, WebP/Animated WebP, AVIF, TIFF, GIF, SVG.
- Combined Compression Strategies: TinyPNG offers the best compression ratio but requires an internet connection, is less efficient for large numbers of images, and is not suitable for sensitive images. Offline compression is slightly less effective than TinyPNG but offers extremely high batch processing efficiency, requires no internet connection, and ensures privacy and security. During compression, both strategies are automatically combined to achieve optimal processing efficiency.
- Automatic Compression Mode: Select folders to monitor, and images added to these folders will be automatically compressed, enhancing your workflow.
- Convenient Operations: Drag and drop files into the application or onto the application icon for quick opening, select files or directories in Mac Finder and choose a compression method from the "Services" menu, and more.
- Rich Application Configuration: Offers dark/light themes, multiple languages, system notifications, startup on boot, save methods for processed images, save locations, number of parallel tasks, and more.
- Open Integration: Provides image compression invocation capabilities via DeepLink, allowing automation tools to call it and enhance your workflow.
Symptom
- When you double-click picsharp.exe, nothing happens. No window appears, and Task Manager does not show the process.
- This can affect both the standard installer and the portable version.
Cause
- Microsoft Edge WebView2 Runtime is either missing, outdated, or improperly installed on your system. PicSharp depends on WebView2 to render the interface on Windows.
How to Fix
- Check if WebView2 is installed
- Open “Add or Remove Programs” (a.k.a. Apps & features) on Windows. Look for “Microsoft Edge WebView2 Runtime.”
- Install or Update WebView2
- Download the WebView2 Runtime directly from Microsoft: link.
- If you prefer an offline installer, download the offline package and run it as an Administrator.
- Re-run PicSharp
- After installing/updating WebView2, launch picsharp.exe again.
- If you still encounter problems, reboot your PC and try again.
Additional Tips
- If reinstalling once doesn’t work, uninstall Edge WebView2 completely, then reinstall it with Administrator privileges.
- Verify your Windows installation has the latest updates from Microsoft.
AppImage is a distribution format that does not rely on the system installed packages and instead bundles all dependencies and files needed by the application. For this reason, the output file is larger but easier to distribute since it is supported on many Linux distributions and can be executed without installation.
1. Download
Go to the download page to download the AppImage file corresponding to the system architecture.
2. Set Permissions
Open the directory where AppImage is located in the command line and set the running permissions for it.
3. Run In Terminal
4. Run In Desktop
The above steps have opened PicSharp and it can be used normally, but the desktop icon is missing and the terminal cannot be closed. The following steps can create the desktop icon.
This command enables the AppImage application to be launched from the application menu in the desktop environment, just like traditionally installed software, without having to run in the terminal every time.
To get started with PicSharp, follow these steps to clone and build the project.
Requirements
- Node.js 20+
- pnpm 9+
- Rust and Cargo for Tauri development
Refer to the Tauri documentation for details on setting up the development environment prerequisites on different platforms.
1. Install Dependencies
2. Build for Development
3. Build for Production
About building on different platforms can distribute product details, please refer to the Tauri document.
If you want to help out please see CONTRIBUTING.md to see how to get started.
- Add Windows arm64 support
If you enjoy this project consider giving it a star ⭐.