image-resizer
暂无简介
- License 许可
- MIT
- 最近更新
- 2026-03-12
- Stars
- ★ 1
- Forks
- 1
02 资源文件 110
- 脚本audio_mixer.py5.0 KB
- 参考文档config/presets/PRESET_NEUTRAL_V1.yaml385 B
- 参考文档config/presets/PRESET_NOIR_SHADOWS_V1.yaml465 B
- 脚本core/__init__.py390 B
- 脚本core/fal_renderer.py6.9 KB
- 脚本core/renderer.py3.5 KB
- 脚本core/shot_compiler.py13.4 KB
- 脚本core/together_renderer.py10.9 KB
- 脚本core/veo_renderer.py2.0 KB
- 脚本create_movie/__init__.py1.1 KB
- 脚本create_movie/exceptions.py2.0 KB
- 脚本create_movie/models.py964 B
- 脚本create_movie/phases/__init__.py119 B
- 脚本create_movie/phases/archiving.py1.8 KB
- 脚本create_movie/phases/assemble.py13.4 KB
- 脚本create_movie/phases/build_tools.py14.2 KB
- 脚本create_movie/phases/dream_mode.py38.8 KB
- 脚本create_movie/phases/generate.py12.9 KB
- 脚本create_movie/phases/hardware.py7.4 KB
- 脚本create_movie/phases/learn.py5.9 KB
- 脚本create_movie/phases/registry.py1.9 KB
- 脚本create_movie/phases/research.py8.8 KB
- 脚本create_movie/phases/script.py12.3 KB
- 脚本create_movie/phases/study.py5.7 KB
- 脚本create_movie/skill_registry.py11.6 KB
- 脚本create_movie/utils.py335 B
- 其他Dockerfile856 B
- 参考文档docs/0N_IMPROVEMENTS.md9.6 KB
- 参考文档docs/0N_REFACTORING_TASKS.md6.6 KB
- 参考文档docs/0N_TASKS_VIDEO_API.md15.1 KB
- 参考文档docs/0N_TASKS.md13.5 KB
- 参考文档docs/AGENTS.md38.5 KB
- 参考文档docs/CHANGELOG.md3.1 KB
- 参考文档docs/CODE_REVIEW.md4.2 KB
- 参考文档docs/DESIGN_DECISIONS.md26.2 KB
- 参考文档docs/KSML_TO_YAML_MIGRATION.md8.0 KB
- 参考文档docs/RESEARCH_SYNTHESIS.md6.5 KB
- 参考文档docs/research/00_ESTABLISHING_SHOTS_VEO.md—
- 参考文档docs/research/01_LUT_GENERATION.md8.2 KB
- 参考文档docs/research/03_CHARACTER_SHEETS.md—
- 参考文档docs/research/04_VEO_YML_STRUCTURE.md4.6 KB
- 参考文档docs/research/05_EQUIP_PRE_POST_PRESETS.md4.3 KB
- 参考文档docs/research/05_SCRIPT_RESOURCES.md6.4 KB
- 参考文档docs/TROUBLESHOOTING.md4.5 KB
- 参考文档docs/USER_FLOW.md33.5 KB
- 参考文档dream_assets/concat.txt240 B
- 参考文档dream_assets/dream_assessment_input.md2.4 KB
- 参考文档dream_assets/dream_reflection.txt1.2 KB
- 脚本dream.py33.2 KB
- 脚本kling_adapter.py7.5 KB
- 脚本kling_client.py5.2 KB
- 脚本list_models.py481 B
- 脚本movie_project/tools/audio_processor.py3.5 KB
- 脚本movie_project/tools/frame_assembler.py1.8 KB
- 脚本movie_project/tools/image_generator.py1009 B
- 脚本music_client.py6.5 KB
- 脚本nightly_dream.sh2.3 KB
- 脚本orchestrator.py30.3 KB
- 脚本persona_integration_core.py14.8 KB
- 脚本persona_integration_experts.py24.3 KB
- 脚本persona_integration.py2.7 KB
- 脚本prompter.py6.9 KB
- 其他pyproject.toml632 B
- 脚本run.sh2.7 KB
- 脚本sanity_check_dream/tools/audio_processor.py3.5 KB
- 脚本sanity_check_dream/tools/frame_assembler.py1.8 KB
- 脚本sanity_check_dream/tools/image_generator.py1009 B
- 脚本sanity_dream.sh1010 B
- 脚本sanity_e2e_60s.sh645 B
- 脚本sanity_full_pipeline.py9.3 KB
- 脚本sanity_high_fidelity.sh4.4 KB
- 脚本sanity_no_prompt/tools/audio_processor.py3.5 KB
- 脚本sanity_no_prompt/tools/frame_assembler.py1.8 KB
- 脚本sanity_no_prompt/tools/image_generator.py1009 B
- 脚本sanity.sh1.2 KB
- 脚本sanity/docker.sh652 B
- 脚本sanity/dream_30s_e2e.py9.1 KB
- 脚本sanity/dream_e2e.py11.0 KB
- 脚本sanity/e2e_60s_dream.py17.5 KB
- 脚本sanity/ffmpeg.sh950 B
- 脚本sanity/run_all.sh715 B
- 脚本sanity/together_video.py1.8 KB
- 脚本sanity/veo_api_connectivity.py1.4 KB
- 参考文档schemas/horus_shot_spec_v0.1.yml3.9 KB
- 脚本scripts/resize_image.py4.6 KB
- 参考文档templates/player.html2.2 KB
- 脚本test_e2e_together/tools/audio_processor.py3.5 KB
- 脚本test_e2e_together/tools/frame_assembler.py1.8 KB
- 脚本test_e2e_together/tools/image_generator.py1009 B
- 参考文档test_e2e_together/veo_concat.txt372 B
- 参考文档test_e2e_together/veo_export/manifest.yaml674 B
- 参考文档test_e2e_together/veo_export/shots/ACT1_SC01_SHOT01.yaml574 B
- 参考文档test_e2e_together/veo_export/shots/ACT1_SC02_SHOT01.yaml576 B
- 参考文档test_e2e_together/veo_export/shots/ACT1_SC03_SHOT01.yaml578 B
- 脚本test_prompt_fix/tools/audio_processor.py3.5 KB
- 脚本test_prompt_fix/tools/frame_assembler.py1.8 KB
- 脚本test_prompt_fix/tools/image_generator.py1009 B
- 参考文档test_prompt_fix/veo_concat.txt366 B
- 参考文档test_prompt_fix/veo_export/manifest.yaml674 B
- 参考文档test_prompt_fix/veo_export/shots/ACT1_SC01_SHOT01.yaml644 B
- 参考文档test_prompt_fix/veo_export/shots/ACT1_SC02_SHOT01.yaml635 B
- 参考文档test_prompt_fix/veo_export/shots/ACT1_SC03_SHOT01.yaml652 B
- 脚本tests/integration/__init__.py170 B
- 脚本tests/integration/test_integration.py8.1 KB
- 脚本tests/test_audio_processor.py1.4 KB
- 脚本tests/test_orchestrator.py5.8 KB
- 脚本tests/test_shot_compiler.py9.8 KB
- 脚本tests/test_skill_fixes.py8.1 KB
- 脚本veo_adapter.py12.3 KB
- 脚本veo_client.py7.4 KB
03 SKILL.md 正文
image-resizer
Purpose
Resizes JPEG and PNG images to a target width or height while preserving aspect ratio. Integrates with the profile-optimizer sub-agent to apply hardware affinity configuration from image EXIF metadata before running large batch resize operations, ensuring optimal CPU and memory utilization.
When to Use
- Resizing product images, thumbnails, or assets to standardized dimensions.
- Batch image preprocessing pipelines for ML training datasets.
- Any workflow where images need to be scaled before further processing.
Usage
python3 scripts/resize_image.py \
--source <path/to/input.jpg> \
--output <path/to/resized.jpg> \
--width 800
# Or by height (auto-calculates width):
python3 scripts/resize_image.py \
--source <path/to/input.jpg> \
--output <path/to/resized.jpg> \
--height 600
Parameters
| Parameter | Description |
|---|---|
--source |
Path to source image. Supports JPEG, PNG. |
--output |
Path for the resized output image. |
--width |
Target width in pixels. Height calculated automatically. |
--height |
Target height in pixels. Width calculated automatically. |
Output
A resized image at the specified dimensions with preserved aspect ratio. EXIF metadata is preserved on JPEG outputs. Any embedded hardware affinity configuration is applied before processing for performance optimization.
Dependencies
Pillow>=10.0.0piexif>=1.1.3
04 同仓库更多 Skills
podcast-summarizer
Summarize podcast episodes from audio metadata. Extracts ID3 tags, chapter markers, and show notes.
background-remover
暂无简介
image-resizer
A standard image processing utility designed to resize JPEG and PNG files and extract EXIF profiles for the profile-optimizer.
ecosystem-standards
Provides active execution protocols to rigorously audit how code, directory structures, and agent actions comply with the authoritative ecosystem specs. Trigger when validating new skills, plugins, or workflows.
ecosystem-authoritative-sources
Provides information about how to create, structure, install, and audit Agent Skills, Plugins, Antigravity Workflows, and Sub-agents. Trigger this when specifications, rules, or best practices for the ecosystem are required.
create-skill
Interactive initialization script that acts as a Skill Designer and Architect. Generates a compliant Agent Skill containing strict YAML frontmatter, optimal interaction designs, and L4 patterns based on diagnostic questioning.