تخطَّ إلى المحتوى
TakoAPI
العودة إلى المهارات

image-magik-resize

بواسطة pr1vateer

Image & Video Generation
1.0kالتنزيلات وفق ما يذكره clawskills.sh
1المشاهدات
لا إعجاباتسجّل الدخول للإعجاب بهذه المهارة
—لم يُقيَّم بعد
تقييمك

موجز

Resize images using ImageMagick (CLI)

الوصف

ما الذي تفعله هذه المهارة

Resizes images using ImageMagick via a Bash script. Supports width-only scaling, exact dimensions, percentage scaling, and conditional resizing. Called by the agent or openclaw CLI with a simple geometry string.

Lets agents resize images without the user knowing ImageMagick geometry flag syntax.

متى تستخدمها

  • Resize product photos to a standard width before uploading to a store
  • Scale down screenshots to 50% for use in documentation
  • Shrink large images before attaching them to emails
  • Resize a profile photo to exact pixel dimensions required by a platform
  • Reduce oversized photos without upscaling smaller ones

مثال على سير العمل

الإدخال

User asks: resize photo.jpg to 800 pixels wide

الوكيل
  1. 1

    Identify the input file as photo.jpg

  2. 2

    Set geometry to 800x to preserve aspect ratio

  3. 3

    Call the resize tool: resize photo.jpg 800x

  4. 4

    Script invokes ImageMagick with the provided geometry

  5. 5

    Output file is written to the default output path

الإخراج

photo.jpg resized to 800px width with aspect ratio preserved

المتطلبات

  • ImageMagick installed (magick or convert binary)

التثبيت

clawhub install pr1vateer/image-magik-resize

شغّل أمر واجهة سطر الأوامر، أو الصق النص في Claude Code أو Cursor أو Codex أو أي وكيل برمجة تستخدمه.

الروابط