Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix ImageMagick command for v7 option handling #254

Merged
merged 1 commit into from
Sep 12, 2024

Commits on Sep 12, 2024

  1. Fix ImageMagick command for v7 option handling

    Options specified before the input image can be interpreted as options
    to generate an image.
    
    Example:
    
    ```
    convert -size 300x200 xc:lightblue image.png
    ```
    
    The `-size` and `xc:lightblue` options create a new image, and
    `image.png` is considered the output file. 
    
    By moving the options **after** the input image, we ensure that the
    input file is interpreted correctly and only the output is modified
    according to the specified options.
    
    This will also add compatibility to ImageMagick v7
    tagliala committed Sep 12, 2024
    Configuration menu
    Copy the full SHA
    27183db View commit details
    Browse the repository at this point in the history