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

rawtherapee-cli uses a lower-case .jpg extension for the generated file instead of the requested upper-case .JPG #7243

Open
dset0x opened this issue Nov 10, 2024 · 1 comment

Comments

@dset0x
Copy link

dset0x commented Nov 10, 2024

Short description
As titled

Steps to reproduce

$ rawtherapee-cli -q -O /tmp/f.JPG -Y -s -c input.RW2
RawTherapee, version 5.11, command line.
Output is 8-bit integer.
Processing: input.RW2
  Merging sidecar procparams.
$ ls -l /tmp/f.JPG
ls: cannot access '/tmp/f.JPG': No such file or directory
$ ls -l /tmp/f.jpg
-rw-r--r-- 1 user user 5.1M Nov 10 13:26 /tmp/f.jpg

Expected behavior
/tmp/f.JPG should be created instead of /tmp/f.jpg

Additional information

  • Version of RawTherapee: 5.11
  • Version of your operating system: Void Linux
@Lawrence37
Copy link
Collaborator

The help message and documentation should be updated to make it clear that the extension is determined by the file type. It will always be jpg, tif, or png regardless of what extension is supplied. Even if you use f.tif, the file will be named f.jpg. The file type is determined by one of 3 flags, -j for jpg, -n for png, or -t for tif. The default is jpg if none of the three are specified.

@Lawrence37 Lawrence37 added this to the v5.12 milestone Nov 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants