Photos does not show previews of mimetypes from Camera RAW previews. The 'Files' app shows the previews properly (NOTE: I generated them using preview-generator), when I click on .CR2 etc.. from the 'Files' app it opens them in the preview viewer. When I switch to 'Photos' app, none of them show up (and folders which have purely CR2 are not shown at all).
Desktop (please complete the following information):
Hi, Photos only supports jpeg and png for now.
@jancborchardt any insights? Would it make sense to add cr2? Do people really use raw that much?
I guess we don't really lose anything to add them :thinking:
I'm quite certain Camera RAW previews app is a very popular one, I use it in conjuction with preview-generator. I guess my main confusion is, why wouldn't the Photos app be using the image mimetype to determine if it should display a preview or not, rather than looking at file name extension? After all, an image is an image which is a photo :)
That's huge debate :)
But mimetypes are linked to files extension, that doesn't change a lot.
Nonetheless if we show all files with a preview that is not a photo app (pdf, text, anything that have a preview provider)
So we have to draw a line somewhere :shrug:
I didn't think .txt and .pdf etc.. would be registered as an 'image' mimetype and rather text/pdf or text? I just thought they'd have registered with a preview provider? Isn't there a difference?
Yes, they will be seen as their associated mimetype: application/pdf
Sorry, I might have misunderstood you? You said:
why wouldn't the Photos app be using the image mimetype to determine if it should display a preview or not, rather than looking at file name extension
I answered that we need to filter the mimetype before even having to check if a preview exists before.
Using extensions or mimetypes to filter are pretty much the same :)
ok, I'm not sure what is best, it just seems to me that if something has a mimetype of 'image' (whether pdf or not) and has a preview provider registered, it should have all the appropriate sized preview jpegs generated for it and thus why not display it? It's just the presentation in the photos app which I really like, it's nicer than files when navigating huge servers with lots of files and folders.
I'm ultimately just keen to see .PSD and .CR2 as for photographers it's quite important, however it seems harder to maintain it that way. Perhaps a setting that's off by default is perhaps better to enable Photos to display all mimetypes with preview providers registered.
Perhaps a setting that's off by default is perhaps better to enable Photos to display all mimetypes with preview providers registered.
That would defeat the entire purpose of photos. This would just be a files replacement. :shrug:
I can already tell you this will not happen. Nonetheless expanding the list of images for photos editors/photographers is a nice idea! :+1:
My entire photo library is raw images.
Photos is practically useless to me unless it's possible for the Camera RAW plugin to be able to inject its supported formats to the whitelist somehow.
I agree it should not be that any mimetype that can be previewed shows in photos; I don't want PDF's and junk in my albums, but every format supported by Camera RAW is guaranteed to be a 'photo' (because that's what digital cameras do!), and it needs to be possible for that plugin to extend the whitelist of formats to include the formats it handles.
What about whitelisting all mimes with prefix "image/" that has a preview?
Most helpful comment
What about whitelisting all mimes with prefix "image/" that has a preview?