Skip to content

convert: wrong file used for input #241

@brunoais

Description

@brunoais

ImageMagick version

6.9.11-60

Operating system

Linux

Operating system, version and so on

ubuntu 22.04c (linux 6.1.0)

Description

Given a directory with 2 files:

-rw-rw-r-- 1 me me  4295 today imagea.png
-rw-rw-r-- 1 me me 45604 today imageb.png

If I try to convert to convert imageb to webp, convert converts imagea instead.
If I remove imagea, convert correctly converts the only file in the directory (imageb)

Steps to Reproduce

  1. Execute: convert './imageb.png' -quality 100 -define webp:lossless=true imageb_l.webp
  2. imagea was converted instead of imageb

Images

imagea
imageb

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions