nextcloud / nextcloud/recognize
RAW images support
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 699
- Forks
- 68
- Avg merge
- 1d 4h
- Merged PRs (30d)
- 5
Description
Describe the feature you'd like to request
The current value of IMAGE_FORMATS doesn't include the image/x-dcraw value which prevents RAW images from being scanned / recognized.
Describe the solution you'd like
I've verified that extending IMAGE_FORMATS with the value image/x-dcraw picks up all the various RAW image formats I have. This is sufficient given that Recognize uses the standard NextCloud Preview functionality and 'Camera RAW Previews' app already takes care of RAW files.
Describe alternatives you've considered
N/A.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start in lib/Constants.php at the IMAGE_FORMATS definition around line 10 and review how the listed values are used for scanning. Add the image/x-dcraw value, then verify that RAW images are picked up for recognition through the existing Nextcloud Preview functionality and Camera RAW Previews app.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- computer-vision
- Issue type
- Feature
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 55/100