Add screenshots, update metainfo, and fix AppImage build script
- Add 18 screenshots sorted by workflow order to data/screenshots/ - Update metainfo with actual screenshot entries and correct dimensions - Fix build script to copy all hicolor icon sizes and use linuxdeploy --output - Add exported icon PNGs to icons/
@@ -36,14 +36,20 @@ mkdir -p "$APP_DIR/usr/share/metainfo"
|
||||
cp "target/$BUILD_TYPE/pixstrip-gtk" "$APP_DIR/usr/bin/pixstrip-gtk"
|
||||
cp "target/$BUILD_TYPE/pixstrip-cli" "$APP_DIR/usr/bin/pixstrip"
|
||||
|
||||
# Step 4: Copy desktop file, icon, metainfo
|
||||
# Step 4: Copy desktop file, icons, metainfo
|
||||
cp "data/$APP_ID.desktop" "$APP_DIR/usr/share/applications/"
|
||||
cp "data/icons/hicolor/scalable/apps/$APP_ID.svg" "$APP_DIR/usr/share/icons/hicolor/scalable/apps/"
|
||||
cp "data/$APP_ID.desktop" "$APP_DIR/"
|
||||
cp "data/$APP_ID.metainfo.xml" "$APP_DIR/usr/share/metainfo/"
|
||||
|
||||
# Symlinks required by AppImage spec
|
||||
ln -sf "usr/share/applications/$APP_ID.desktop" "$APP_DIR/$APP_ID.desktop"
|
||||
ln -sf "usr/share/icons/hicolor/scalable/apps/$APP_ID.svg" "$APP_DIR/$APP_ID.svg"
|
||||
# Copy all hicolor icon sizes
|
||||
for size_dir in data/icons/hicolor/*/apps; do
|
||||
size=$(basename "$(dirname "$size_dir")")
|
||||
mkdir -p "$APP_DIR/usr/share/icons/hicolor/$size/apps"
|
||||
cp "$size_dir"/$APP_ID.* "$APP_DIR/usr/share/icons/hicolor/$size/apps/" 2>/dev/null || true
|
||||
done
|
||||
|
||||
# Top-level icon for AppImage spec
|
||||
cp "data/icons/hicolor/256x256/apps/$APP_ID.png" "$APP_DIR/$APP_ID.png"
|
||||
|
||||
# Step 5: Create AppRun
|
||||
cat > "$APP_DIR/AppRun" << 'APPRUN'
|
||||
@@ -78,28 +84,15 @@ if [[ ! -x "$TOOLS_DIR/linuxdeploy-plugin-gtk.sh" ]]; then
|
||||
chmod +x "$TOOLS_DIR/linuxdeploy-plugin-gtk.sh"
|
||||
fi
|
||||
|
||||
# Use linuxdeploy to bundle dependencies
|
||||
# Use linuxdeploy to bundle dependencies and create AppImage
|
||||
export DEPLOY_GTK_VERSION=4
|
||||
"$TOOLS_DIR/linuxdeploy" \
|
||||
--appdir "$APP_DIR" \
|
||||
--desktop-file "$APP_DIR/usr/share/applications/$APP_ID.desktop" \
|
||||
--icon-file "$APP_DIR/usr/share/icons/hicolor/scalable/apps/$APP_ID.svg" \
|
||||
--plugin gtk
|
||||
|
||||
# Step 7: Build the AppImage
|
||||
echo "--- Creating AppImage ---"
|
||||
|
||||
# Download appimagetool if not present
|
||||
if [[ ! -x "$TOOLS_DIR/appimagetool" ]]; then
|
||||
echo "Downloading appimagetool..."
|
||||
wget -q -O "$TOOLS_DIR/appimagetool" \
|
||||
"https://github.com/AppImage/appimagetool/releases/download/continuous/appimagetool-x86_64.AppImage"
|
||||
chmod +x "$TOOLS_DIR/appimagetool"
|
||||
fi
|
||||
|
||||
VERSION="0.1.0"
|
||||
"$TOOLS_DIR/appimagetool" "$APP_DIR" "Pixstrip-${VERSION}-x86_64.AppImage"
|
||||
--icon-file "$APP_DIR/usr/share/icons/hicolor/256x256/apps/$APP_ID.png" \
|
||||
--plugin gtk \
|
||||
--output appimage
|
||||
|
||||
echo ""
|
||||
echo "=== AppImage built: Pixstrip-${VERSION}-x86_64.AppImage ==="
|
||||
echo "Size: $(du -h "Pixstrip-${VERSION}-x86_64.AppImage" | cut -f1)"
|
||||
echo "=== AppImage built ==="
|
||||
ls -lh Pixstrip-*.AppImage 2>/dev/null || echo "Note: output filename may vary."
|
||||
|
||||
@@ -51,44 +51,76 @@
|
||||
|
||||
<screenshots>
|
||||
<screenshot type="default">
|
||||
<caption>Workflow selection with built-in presets for common image tasks</caption>
|
||||
<image type="source" width="902" height="1330">https://git.lashman.live/lashman/pixstrip/raw/branch/main/data/screenshots/01.png</image>
|
||||
<caption>Workflow selection with built-in and user presets for common image tasks</caption>
|
||||
<image type="source" width="1369" height="1081">https://git.lashman.live/lashman/pixstrip/raw/branch/main/data/screenshots/01.png</image>
|
||||
</screenshot>
|
||||
<screenshot>
|
||||
<caption>Image selection with drag-and-drop and batch file management</caption>
|
||||
<image type="source" width="902" height="1330">https://git.lashman.live/lashman/pixstrip/raw/branch/main/data/screenshots/02.png</image>
|
||||
<caption>Image selection with thumbnail grid and batch file management</caption>
|
||||
<image type="source" width="1369" height="1081">https://git.lashman.live/lashman/pixstrip/raw/branch/main/data/screenshots/02.png</image>
|
||||
</screenshot>
|
||||
<screenshot>
|
||||
<caption>Resize step with width, height, fit-in-box, and social media presets</caption>
|
||||
<image type="source" width="902" height="1330">https://git.lashman.live/lashman/pixstrip/raw/branch/main/data/screenshots/03.png</image>
|
||||
<caption>Resize step with live preview, presets, and dimension controls</caption>
|
||||
<image type="source" width="1369" height="1081">https://git.lashman.live/lashman/pixstrip/raw/branch/main/data/screenshots/03.png</image>
|
||||
</screenshot>
|
||||
<screenshot>
|
||||
<caption>Format conversion between JPEG, PNG, WebP, AVIF, GIF, and TIFF</caption>
|
||||
<image type="source" width="902" height="1330">https://git.lashman.live/lashman/pixstrip/raw/branch/main/data/screenshots/04.png</image>
|
||||
<caption>Format conversion with cards for JPEG, PNG, WebP, AVIF, GIF, TIFF, and BMP</caption>
|
||||
<image type="source" width="1369" height="1081">https://git.lashman.live/lashman/pixstrip/raw/branch/main/data/screenshots/04.png</image>
|
||||
</screenshot>
|
||||
<screenshot>
|
||||
<caption>Compression with live before/after preview and file size estimates</caption>
|
||||
<image type="source" width="902" height="1330">https://git.lashman.live/lashman/pixstrip/raw/branch/main/data/screenshots/05.png</image>
|
||||
<caption>Compression with quality slider and live before/after preview</caption>
|
||||
<image type="source" width="1369" height="1081">https://git.lashman.live/lashman/pixstrip/raw/branch/main/data/screenshots/05.png</image>
|
||||
</screenshot>
|
||||
<screenshot>
|
||||
<caption>Metadata stripping with selective EXIF field management</caption>
|
||||
<image type="source" width="902" height="1330">https://git.lashman.live/lashman/pixstrip/raw/branch/main/data/screenshots/06.png</image>
|
||||
<caption>Image adjustments for brightness, contrast, saturation, and effects</caption>
|
||||
<image type="source" width="1369" height="1081">https://git.lashman.live/lashman/pixstrip/raw/branch/main/data/screenshots/06.png</image>
|
||||
</screenshot>
|
||||
<screenshot>
|
||||
<caption>Watermark placement with text and image options</caption>
|
||||
<image type="source" width="902" height="1330">https://git.lashman.live/lashman/pixstrip/raw/branch/main/data/screenshots/07.png</image>
|
||||
<caption>Metadata handling with preset modes and custom category toggles</caption>
|
||||
<image type="source" width="1369" height="1081">https://git.lashman.live/lashman/pixstrip/raw/branch/main/data/screenshots/07.png</image>
|
||||
</screenshot>
|
||||
<screenshot>
|
||||
<caption>Batch rename with templates, counters, and EXIF variables</caption>
|
||||
<image type="source" width="902" height="1330">https://git.lashman.live/lashman/pixstrip/raw/branch/main/data/screenshots/08.png</image>
|
||||
<caption>Text watermark placement with live preview on image</caption>
|
||||
<image type="source" width="1369" height="1081">https://git.lashman.live/lashman/pixstrip/raw/branch/main/data/screenshots/08.png</image>
|
||||
</screenshot>
|
||||
<screenshot>
|
||||
<caption>Image adjustments for brightness, contrast, and saturation</caption>
|
||||
<image type="source" width="902" height="1330">https://git.lashman.live/lashman/pixstrip/raw/branch/main/data/screenshots/09.png</image>
|
||||
<caption>Batch rename with prefix, suffix, case conversion, and live file preview</caption>
|
||||
<image type="source" width="1369" height="1081">https://git.lashman.live/lashman/pixstrip/raw/branch/main/data/screenshots/09.png</image>
|
||||
</screenshot>
|
||||
<screenshot>
|
||||
<caption>Settings with output preferences and file manager integration</caption>
|
||||
<image type="source" width="902" height="1330">https://git.lashman.live/lashman/pixstrip/raw/branch/main/data/screenshots/10.png</image>
|
||||
<caption>Output summary with operation checklist, directory, and overwrite settings</caption>
|
||||
<image type="source" width="1369" height="1081">https://git.lashman.live/lashman/pixstrip/raw/branch/main/data/screenshots/10.png</image>
|
||||
</screenshot>
|
||||
<screenshot>
|
||||
<caption>Processing complete with results showing images processed and space saved</caption>
|
||||
<image type="source" width="1369" height="1081">https://git.lashman.live/lashman/pixstrip/raw/branch/main/data/screenshots/11.png</image>
|
||||
</screenshot>
|
||||
<screenshot>
|
||||
<caption>Save workflow as a reusable preset with custom name, icon, and color</caption>
|
||||
<image type="source" width="1369" height="1081">https://git.lashman.live/lashman/pixstrip/raw/branch/main/data/screenshots/12.png</image>
|
||||
</screenshot>
|
||||
<screenshot>
|
||||
<caption>Settings with output defaults, interface options, and file manager integration</caption>
|
||||
<image type="source" width="1369" height="1081">https://git.lashman.live/lashman/pixstrip/raw/branch/main/data/screenshots/13.png</image>
|
||||
</screenshot>
|
||||
<screenshot>
|
||||
<caption>Processing history with recent batches and space savings</caption>
|
||||
<image type="source" width="1369" height="1081">https://git.lashman.live/lashman/pixstrip/raw/branch/main/data/screenshots/14.png</image>
|
||||
</screenshot>
|
||||
<screenshot>
|
||||
<caption>Keyboard shortcuts for wizard navigation, file management, and more</caption>
|
||||
<image type="source" width="1369" height="1081">https://git.lashman.live/lashman/pixstrip/raw/branch/main/data/screenshots/15.png</image>
|
||||
</screenshot>
|
||||
<screenshot>
|
||||
<caption>Welcome screen with quick introduction to Pixstrip</caption>
|
||||
<image type="source" width="1369" height="1081">https://git.lashman.live/lashman/pixstrip/raw/branch/main/data/screenshots/16.png</image>
|
||||
</screenshot>
|
||||
<screenshot>
|
||||
<caption>Setup wizard to choose between simple and detailed interface modes</caption>
|
||||
<image type="source" width="1369" height="1081">https://git.lashman.live/lashman/pixstrip/raw/branch/main/data/screenshots/17.png</image>
|
||||
</screenshot>
|
||||
<screenshot>
|
||||
<caption>Contextual help with detailed guidance for each wizard step</caption>
|
||||
<image type="source" width="1369" height="1081">https://git.lashman.live/lashman/pixstrip/raw/branch/main/data/screenshots/18.png</image>
|
||||
</screenshot>
|
||||
</screenshots>
|
||||
|
||||
|
||||
BIN
data/screenshots/01.png
Normal file
|
After Width: | Height: | Size: 146 KiB |
BIN
data/screenshots/02.png
Normal file
|
After Width: | Height: | Size: 794 KiB |
BIN
data/screenshots/03.png
Normal file
|
After Width: | Height: | Size: 334 KiB |
BIN
data/screenshots/04.png
Normal file
|
After Width: | Height: | Size: 104 KiB |
BIN
data/screenshots/05.png
Normal file
|
After Width: | Height: | Size: 315 KiB |
BIN
data/screenshots/06.png
Normal file
|
After Width: | Height: | Size: 263 KiB |
BIN
data/screenshots/07.png
Normal file
|
After Width: | Height: | Size: 99 KiB |
BIN
data/screenshots/08.png
Normal file
|
After Width: | Height: | Size: 493 KiB |
BIN
data/screenshots/09.png
Normal file
|
After Width: | Height: | Size: 103 KiB |
BIN
data/screenshots/10.png
Normal file
|
After Width: | Height: | Size: 76 KiB |
BIN
data/screenshots/11.png
Normal file
|
After Width: | Height: | Size: 65 KiB |
BIN
data/screenshots/12.png
Normal file
|
After Width: | Height: | Size: 94 KiB |
BIN
data/screenshots/13.png
Normal file
|
After Width: | Height: | Size: 146 KiB |
BIN
data/screenshots/14.png
Normal file
|
After Width: | Height: | Size: 133 KiB |
BIN
data/screenshots/15.png
Normal file
|
After Width: | Height: | Size: 142 KiB |
BIN
data/screenshots/16.png
Normal file
|
After Width: | Height: | Size: 109 KiB |
BIN
data/screenshots/17.png
Normal file
|
After Width: | Height: | Size: 112 KiB |
BIN
data/screenshots/18.png
Normal file
|
After Width: | Height: | Size: 153 KiB |
BIN
icons/pixstrip-128x128.png
Normal file
|
After Width: | Height: | Size: 13 KiB |
BIN
icons/pixstrip-16x16.png
Normal file
|
After Width: | Height: | Size: 894 B |
BIN
icons/pixstrip-192x192.png
Normal file
|
After Width: | Height: | Size: 23 KiB |
BIN
icons/pixstrip-256x256.png
Normal file
|
After Width: | Height: | Size: 31 KiB |
BIN
icons/pixstrip-32x32.png
Normal file
|
After Width: | Height: | Size: 2.3 KiB |
BIN
icons/pixstrip-48x48.png
Normal file
|
After Width: | Height: | Size: 4.0 KiB |
BIN
icons/pixstrip-512x512.png
Normal file
|
After Width: | Height: | Size: 76 KiB |
BIN
icons/pixstrip-64x64.png
Normal file
|
After Width: | Height: | Size: 5.7 KiB |
BIN
icons/pixstrip.ico
Normal file
|
After Width: | Height: | Size: 279 KiB |
BIN
icons/pixstrip.png
Normal file
|
After Width: | Height: | Size: 76 KiB |