Solving issue 1946: "Custom Profile Builder needs more parameters"
The new parameter list is: 1. Image file 2. Default processing profile 3. Cache path (for logging files) 4. ForFlagging (bool; true if the procparams are created for an image being simply flagged - inTrash, colors, rank) 5. F Number 6. Exposure 7. Focal length (remains the same) 8. ISO 9. Lens 10. Camera make (new) 11. Camera model (new) ... those 2 new parameters was "camera" before.
This commit is contained in:
@@ -78,7 +78,8 @@ int CacheImageData::load (const Glib::ustring& fname) {
|
||||
if (keyFile.has_key ("ExifInfo", "ExpComp")) expcomp = keyFile.get_string ("ExifInfo", "ExpComp");
|
||||
}
|
||||
if (keyFile.has_key ("ExifInfo", "Lens")) lens = keyFile.get_string ("ExifInfo", "Lens");
|
||||
if (keyFile.has_key ("ExifInfo", "Camera")) camera = keyFile.get_string ("ExifInfo", "Camera");
|
||||
if (keyFile.has_key ("ExifInfo", "CamMake")) camMake = keyFile.get_string ("ExifInfo", "CamMake");
|
||||
if (keyFile.has_key ("ExifInfo", "CamModel")) camModel = keyFile.get_string ("ExifInfo", "CamModel");
|
||||
}
|
||||
|
||||
if (keyFile.has_group ("FileInfo")) {
|
||||
@@ -159,7 +160,8 @@ int CacheImageData::save (const Glib::ustring& fname) {
|
||||
keyFile.set_string ("ExifInfo", "ExpComp", expcomp);
|
||||
}
|
||||
keyFile.set_string ("ExifInfo", "Lens", lens);
|
||||
keyFile.set_string ("ExifInfo", "Camera", camera);
|
||||
keyFile.set_string ("ExifInfo", "CameraMake", camMake);
|
||||
keyFile.set_string ("ExifInfo", "CameraModel", camModel);
|
||||
keyFile.set_string ("FileInfo", "Filetype", filetype);
|
||||
|
||||
if (format==FT_Raw) {
|
||||
|
Reference in New Issue
Block a user