![]() |
3 tygodni temu | |
---|---|---|
.changeset | 2 miesięcy temu | |
.github | 2 miesięcy temu | |
.vscode | 3 miesięcy temu | |
apps | 3 tygodni temu | |
doc | 1 miesiąc temu | |
packages | 3 tygodni temu | |
.editorconfig | 3 miesięcy temu | |
.gitignore | 3 miesięcy temu | |
.prettierrc.json | 3 miesięcy temu | |
CONTRIBUTING.md | 2 miesięcy temu | |
Cargo.lock | 2 miesięcy temu | |
Cargo.toml | 2 miesięcy temu | |
LICENSE | 3 miesięcy temu | |
README.md | 1 miesiąc temu | |
package-lock.json | 3 miesięcy temu | |
package.json | 3 tygodni temu | |
pnpm-lock.yaml | 1 miesiąc temu | |
pnpm-workspace.yaml | 3 miesięcy temu |
<a href="./LICENSE">
<img
src="https://img.shields.io/github/license/AkiraBit/PicSharp?style=flat-square"
/>
</a>
<a href="https://github.com/AkiraBit/PicSharp/releases/latest">
<img
src="https://img.shields.io/github/package-json/v/AkiraBit/PicSharp?style=flat-square"
/>
</a>
<a href="https://github.com/AkiraBit/PicSharp/releases">
<img
src="https://img.shields.io/github/downloads/AkiraBit/PicSharp/total?style=flat-square"
/>
</a>
A feature-rich, efficient and flexible cross-platform desktop image compression application.
libstdc++
11.3+)MacOS | Windows | Linux(Ubuntu) |
---|---|---|
![]() |
[Placeholder] | ![]() |
General | Description | Status |
---|---|---|
Internationalization | Partial support: zh-CN, en-US | ✅ |
Dark/Light Theme | - | ✅ |
System Notifications | - | ✅ |
Startup on Boot | - | ✅ |
Auto Check for Updates | - | ✅ |
Compression | Description | Status |
---|---|---|
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. | ✅ |
Format Conversion | After compression is completed, additionally convert the image to the specified format, such as PNG, JPG, WebP, AVIF. | ✅ |
Alpha Background Fill | Specifies which color to use for fill when an image with a transparent background is converted to an image format that does not support transparency (e.g. WEBP, AVIF, PNG to JPG). | ✅ |
TinyPNG | Description | Status |
---|---|---|
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. | ✅ |
Symptom
Cause
How to Fix
Additional Tips
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.
chmod a+x PicSharp_x.x.x_xxx.AppImage
3. Run In Terminal
./PicSharp_x.x.x_xxx.AppImage
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.
```bash
./PicSharp_x.x.x_xxx.AppImage --appimage-extract
sed -i 's|Exec=.*|Exec=/opt/picsharp/PicSharp.AppImage|g' squashfs-root/usr/share/applications/Picsharp.desktop
sed -i 's/^Icon=.*/Icon=PicSharp/g' squashfs-root/usr/share/applications/picsharp.desktop
sudo install -Dm644 squashfs-root/usr/share/applications/picsharp.desktop /usr/share/applications/PicSharp.desktop
wget "https://raw.githubusercontent.com/AkiraBit/PicSharp/main/doc/logo.png" -O PicSharp.png
sudo install -Dm644 PicSharp.png /usr/share/icons/hicolor/48x48/apps/PicSharp.png
rm -r squashfs-root PicSharp.png
mkdir -p /opt/picsharp
mv PicSharp_x.x.x_xxx.AppImage /opt/picsharp/PicSharp.AppImage
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.
git clone https://github.com/AkiraBit/PicSharp.git
cd PicSharp
Requirements
Refer to the Tauri documentation for details on setting up the development environment prerequisites on different platforms.
1. Install Dependencies
pnpm install
2. Build for Development
# For App
pnpm dev:app
# For Sidecar
pnpm dev:sidecar
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.
If you enjoy this project consider giving it a star ⭐.