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

Unexpected warning when appeding empty label with +swap #352

Open
ftrebien opened this issue Nov 20, 2024 · 1 comment
Open

Unexpected warning when appeding empty label with +swap #352

ftrebien opened this issue Nov 20, 2024 · 1 comment

Comments

@ftrebien
Copy link

ImageMagick version

6.9.11-60

Operating system

Linux

Operating system, version and so on

Debian 12 (Bookworm)

Description

When running convert-im6 with label:'' (empty label) followed by the +swap operator, ImageMagick succeeds with an unexpected warning.

Steps to Reproduce

  1. Run the following command:

    convert-im6 /path/to/input.png label:'' +swap -append /tmp/output.png

    Result: the command completes successfully but generates the following warning:

    convert-im6.q16: no such image '/path/to/input.png' @ error/mogrify.c/MogrifyImageList/8802.
    
  2. Run the same command with a non-empty label:

    convert-im6 /path/to/input.png label:'a' +swap -append /tmp/output.png

    Result: success and no warning.

  3. Run the same command without +swap:

    convert-im6 /path/to/input.png label:'' -append /tmp/output.png

    Result: success and no warning.

Images

The error seems to be independent of input. The following command also issues a warning:

convert-im6 -size 100x100 xc:white label:'' +swap -append /tmp/output.png
@dlemstra dlemstra transferred this issue from ImageMagick/ImageMagick Nov 20, 2024
@fmw42
Copy link

fmw42 commented Nov 20, 2024

I get the same message on IM 6.9.13-19

convert lena.png label:'' +swap -append xyz.png
convert: no such image `lena.png' @ error/mogrify.c/MogrifyImageList/8836.

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

No branches or pull requests

2 participants