Universal Image Resizer & Downloader (by Eliminater74)

Resize any image client-side (CORS-safe). Alt+Right-Click or hover chip to open. Blob preview + anchor download. Remembers last settings + last-used format (sticky). Timestamped filenames with tokens. Quick presets + Platform presets dropdown in header.

这些是此脚本变更过代码的版本。 显示所有版本。

  • v1.6 2025-10-08

    Changelog

    1.6

    • New: Platform Presets dropdown in the header

      • Suno/Spotify/DistroKid: 3000×3000, 1600×1600
      • YouTube: 1280×720, 2560×1440, 800×800, 1080×1920
      • TikTok: 1080×1920, 720×1280, 200×200
      • Instagram: 1080×1080, 1080×1350, 1080×1920
    • New: Expanded Quick Presets grid (more one-click sizes).

    • New: Sticky format — remembers last used output format (JPG/PNG/WEBP). Reset respects your last format preference.

    • UX: Compact header layout; presets menu is accessible from the top (no scrolling needed for platform sizes).

    • UX: Minor styling tweaks for dark backgrounds; larger click targets.

    • Internals: Added uird:lastFormat storage key; kept original hover/binding logic for reliability.

    1.5

    • Stability pass: Reliable hover chip on images; MutationObserver binds to dynamically loaded images.
    • Filename templating: {name} {w} {h} {ext} {ts} {YYYY} {MM} {DD} {hh} {mm} {ss} {site} {title}.
    • Preview/Download: New-tab preview or direct download with timestamped filenames.
    • Modes: contain (letterbox with BG color), cover (crop), stretch (no aspect).
    • Quality control: JPEG/WEBP quality slider; PNG ignores quality as expected.
    • Controls: Choose chip corner, min image edge to show chip, and right-click trigger (Alt+Right-Click by default; can switch to plain Right-Click).

    1.4

    • UI polish: Draggable panel, reset button, and clearer labels.
    • Keyboard: Press R while an image is focused to open the panel.

    1.3

    • CORS-safe loading: Uses GM_xmlhttpRequest to fetch cross-origin images for processing.
    • Better scaling: High-quality canvas resampling; letterboxing color for contain.

    1.2

    • Formats: Added WEBP alongside JPG/PNG.
    • Error handling: Clearer alerts on failures.

    1.1

    • Core features: Hover chip, size inputs, preview in new tab, and direct download via anchor.

    1.0

    • Initial release: Client-side image resize for any <img> on the page.

  • v1.5 2025-08-08