Skip to content

[FEATURE] Add crop command for images #12

Description

@Maelkiz

🚀 Feature Request

Add a crop command to simply-edit that allows users to crop images to specified dimensions or regions.


🎯 Problem / Motivation

Currently, simply-edit supports various image manipulation tasks like flip, rotate, invert, and grayscale conversion. A crop command would expand the toolkit to include a fundamental image editing operation that users frequently need for everyday image tasks.


💡 Proposed Solution

Implement a crop command that allows users to crop images to specified dimensions or regions. The implementation details, including:

  • Command syntax and options
  • Crop region specification (e.g., coordinates, dimensions, aspect ratios)
  • Default behavior and parameters
  • Error handling

...are left to the developer's discretion to determine the best approach for the simply-edit CLI.


✅ Acceptance Criteria

  • Crop command is implemented and functional
  • Command integrates seamlessly with the existing simply-edit CLI
  • Cropped images can be output in supported formats (PNG, JPG, ICO, SVG)
  • Documentation is updated to reflect the new crop command

🧠 Notes / Context (if applicable)

This feature would complement the existing image manipulation capabilities and provide users with a more complete toolkit for everyday image tasks.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions