Skip to content

ImageDestroyer v1.0

Choose a tag to compare

@Rojamahorse Rojamahorse released this 14 Aug 04:17
· 16 commits to main since this release
92bbb8b

Cosmoteer Image Destroyer v1.0 — Initial Release

Image Destroyer is a small, fast GUI tool for “damaging” sprites: it punches real alpha holes from 64px stencils, burns edges (optional), and sprinkles scorches/shrapnel stamps—driven entirely by files you drop into the assets/ folders.

See more information in the README.md

Screenshot 2025-08-13 230908 Screenshot 2025-08-14 001602

✨ Highlights

  • Drag & drop a PNG into the preview or use Load Base…

  • Damage presets: 33, 50 (mix of 33/66), 66

    • Auto-sets hole/scorch/shrapnel densities per preset
  • Stencil-driven holes (binary, crisp; only on non-transparent base pixels)

    • assets/hole_punch/ → 64px punch tiles (opaque = hole)
    • assets/hole_covers/ → 64px covers with matching filenames
    • Both rotate together in 90° steps for perfect alignment
  • Scorches & Shrapnel layers (128px stamps)

    • Density & Severity sliders; scaled ≤ 1.0; any rotation
    • Never appear over empty (transparent) pixels
  • Smart saving: proposes <original>_<level>.png (e.g., floor_50.png)

  • Remembers folders: last Load and Save directories persist across runs


📁 Expected assets layout

assets/
  hole_punch/
    A_33.png  A_66.png  ...   (64px; opaque = HOLE, transparent = no hole)
  hole_covers/
    A_33.png  A_66.png  ...   (64px; same names as punch; pasted into holes)
  scorches/
    Scorch_1.png Scorch_2.png ...
  shrapnel/
    (optional; same rules as scorches)

Files are auto-discovered—add/remove without code changes.


🔧 Defaults per preset

  • 33: holes 0.20 • scorches 0.20 • shrapnel 0.10
  • 50: holes 0.30 • scorches 0.30 • shrapnel 0.15
  • 66: holes 0.40 • scorches 0.50 • shrapnel 0.20
  • Rim width 0, rim darkness 0 (off)
  • Scorches: severity 0.90, min 0.50, max 1.00, rot 180°
  • Shrapnel: severity 0.85, min 0.05, max 0.30, rot 180°

🚀 Download / Run

  • Windows EXE (PyInstaller onefile). Double-click to run.
  • From source: setup.batrun.bat (Python 3.10+; PySide6, Pillow).

🧩 Known notes

  • Punch & cover tiles must be exactly 64×64 and share identical filenames (e.g., A_33.png in both folders).

If you hit any edge cases, open an issue with your base image and the specific stencils used, and I'll try to tune it.