Crop all four edges to retain the central 85% of image width and height.
A Dify tool for autonomous Agents: receive the image URL returned by an image-generation tool, download it, and retain the central 85% of both width and height. No resizing or padding. A 1024×1024 input produces an 870×870 PNG.
In Dify choose Integrations > Install > GitHub, enter , select and . Alternatively download the package from the release and use local-package installation. The package is unsigned and has not been reviewed by Dify Marketplace.
See the Chinese Agent prompt and Chinese usage guide.
Supports static PNG, JPEG and WebP, up to 20 MiB and 25 million pixels. EXIF orientation is applied before cropping; transparency is preserved. Whole-pixel rounding may cause opposite borders to differ by one pixel. This geometric crop does not guarantee removal of text or watermarks.
Public HTTPS targets are validated, including each redirect, and the TLS connection is pinned to a validated public IP while preserving hostname certificate verification. Download size is bounded. No API keys or cookies are sent by the tool. Processing happens in memory inside Dify's plugin runtime; no external image-processing service is used. See PRIVACY.md.
Requires Python 3.12 and the official Dify Plugin CLI:
Local SDK loading, mock URL transport, pixel-exact PNG output, legacy file input, public-address checks and download limits passed. Live cloud Agent invocation and file rendering remain unverified. The author identifier is ; repository owner is .
No outbound calls found
Last checked 10/14/2026 07:41 AM · version 0.0.5