You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When an image file contains an alias of the camera model, rather than the official camera model, there is no way to relate back to the official model.
For example, with a T3i, I would expect to get back the official model of Canon EOS 600D (from data/cameras/canon/600d.toml) when calling camera.model. However, instead I get back the localized model Canon EOS REBEL T3i.
This can introduce difficulties when you want to branch behaviour based on the camera model as each localized case must be handled, rather than a single official model case.
Proposal would be to modify RawImage.{model, clean_model} to return the official model name, and add two new properties RawImage.{localized_model, clean_localized_model} that return the localized model name.
The text was updated successfully, but these errors were encountered:
I'd take a PR but to do the opposite. Keep what's already there the same and add a canonical_make and canonical_model. I think that's how I did it in rawspeed for the same reasons. For all user-visible purposes you want the actual name of the camera, that's what the user knows it by. It's only for software purposes that you want a single canonical name as you don't care about Canon's (and a few others) crazy marketing setups.
When an image file contains an alias of the camera model, rather than the official camera model, there is no way to relate back to the official model.
For example, with a T3i, I would expect to get back the official model of
Canon EOS 600D
(fromdata/cameras/canon/600d.toml
) when callingcamera.model
. However, instead I get back the localized modelCanon EOS REBEL T3i
.This can introduce difficulties when you want to branch behaviour based on the camera model as each localized case must be handled, rather than a single official model case.
Proposal would be to modify
RawImage.{model, clean_model}
to return the official model name, and add two new propertiesRawImage.{localized_model, clean_localized_model}
that return the localized model name.The text was updated successfully, but these errors were encountered: