[fix] Explicitly strip out exif data from preview pics
This commit is contained in:
parent
1aed81debf
commit
1950679680
|
@ -680,7 +680,6 @@ function photo_import_single($database, $index, &$image_data, &$output) {
|
|||
$image_data['file'][$new_index]['original_name'] = trim_filename($image_data['file'][$index]['name'] . "_jpgfromraw.jpg");
|
||||
$image_data['file'][$new_index]['name_tmp'] = $image_data['jpgfromraw'];
|
||||
$image_data['file'][$new_index]['type'] = "jpeg";
|
||||
$image_data['file'][$new_index]['remark'] = "";
|
||||
$image_data['file'][$new_index]['master'] = $po_options['jpgfromraw_master'];
|
||||
$image_data['file'][$new_index]['orientation'] = $image_data['file'][$index]['orientation_orig'];
|
||||
$image_data['file'][$new_index]['remark'] = "Preview image extracted from RAW";
|
||||
|
@ -1182,8 +1181,8 @@ function import_generate_scaled($input_file_name, $output_file_name,
|
|||
}
|
||||
}
|
||||
|
||||
# Ensure we strip all profiles out of the final image..
|
||||
$im_profile_b .= " +profile icm ";
|
||||
# Ensure we strip all profiles (icm, exif, etc) out of the final image..
|
||||
$im_profile_b .= " +profile * ";
|
||||
|
||||
$output .= "<li>".$strings['import_generating_'.$size_name] ." ... ";
|
||||
|
||||
|
|
Loading…
Reference in New Issue