-
Notifications
You must be signed in to change notification settings - Fork 58
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
feat: add support for CR2, DNG, and ARW RAW files #15
Comments
Closing because it's a very low priority. Let me know if you want this :) |
Related discussion: #87 |
Reopened and bumped priority because it is a popular user-requested feature. |
Could you please assign to this issue? @yurijmikhalevich |
@abidkhan484, of course. Thank you for taking this one! Feel free to PR individual RAW format support in separate PRs so we can get them reviewed and merged sooner, and let me know if you have any questions! 😄 |
Could you advise whether including raw formats in the IMAGE_REGEX constant in the main file is responsible for determining which files will be processed? |
@abidkhan484, we can do this, but The logic should be:
|
This pull request for the issue #15 will introduce: 1. Support for RAW file processors. - [x] ARW - [ ] DNG - yurij: doesn't actually work with DNG produced by Lightroom, disabled in this PR - [x] CR2 The other raw format should work by adding the extension in the IMAGE_REGEX constant but the below formats are not yet tested. - CR3 - CRW 2. If a RAW file and a JPG file with the same name exist in the same directory, the logic will prioritize processing the JPG file and ignore the corresponding RAW file. --------- Co-authored-by: Yurij Mikhalevich <[email protected]>
The logic should be:
Also, a good question to answer:
I am inclined to say "yes," but this would break the use-case when the user passes the rclip output to the image viewer like here
rclip -f -t 5 kitty | feh -f - -t
and it doesn't support RAW. But I guess it boils down to which kind of images you are working with, and you should be aware that not all viewers open RAW.Optional:
The text was updated successfully, but these errors were encountered: