@@ -148,10 +148,10 @@ dt_image_flags_t dt_imageio_get_type_from_extension(const char *extension)
148148
149149// load a full-res thumbnail:
150150gboolean dt_imageio_large_thumbnail (const char * filename ,
151- uint8_t * * buffer ,
152- int32_t * width ,
153- int32_t * height ,
154- dt_colorspaces_color_profile_type_t * color_space )
151+ uint8_t * * buffer ,
152+ int32_t * width ,
153+ int32_t * height ,
154+ dt_colorspaces_color_profile_type_t * color_space )
155155{
156156 int res = TRUE;
157157
@@ -688,21 +688,21 @@ void dt_imageio_to_fractional(const float in,
688688}
689689
690690gboolean dt_imageio_export (const dt_imgid_t imgid ,
691- const char * filename ,
692- dt_imageio_module_format_t * format ,
693- dt_imageio_module_data_t * format_params ,
694- const gboolean high_quality ,
695- const gboolean upscale ,
696- const gboolean copy_metadata ,
697- const gboolean export_masks ,
698- const dt_colorspaces_color_profile_type_t icc_type ,
699- const gchar * icc_filename ,
700- const dt_iop_color_intent_t icc_intent ,
701- dt_imageio_module_storage_t * storage ,
702- dt_imageio_module_data_t * storage_params ,
703- const int num ,
704- const int total ,
705- dt_export_metadata_t * metadata )
691+ const char * filename ,
692+ dt_imageio_module_format_t * format ,
693+ dt_imageio_module_data_t * format_params ,
694+ const gboolean high_quality ,
695+ const gboolean upscale ,
696+ const gboolean copy_metadata ,
697+ const gboolean export_masks ,
698+ const dt_colorspaces_color_profile_type_t icc_type ,
699+ const gchar * icc_filename ,
700+ const dt_iop_color_intent_t icc_intent ,
701+ dt_imageio_module_storage_t * storage ,
702+ dt_imageio_module_data_t * storage_params ,
703+ const int num ,
704+ const int total ,
705+ dt_export_metadata_t * metadata )
706706{
707707 if (strcmp (format -> mime (format_params ), "x-copy" ) == 0 )
708708 /* This is a just a copy, skip process and just export */
@@ -743,27 +743,27 @@ static double _get_pipescale(dt_dev_pixelpipe_t *pipe,
743743// internal function: to avoid exif blob reading + 8-bit byteorder
744744// flag + high-quality override
745745gboolean dt_imageio_export_with_flags (const dt_imgid_t imgid ,
746- const char * filename ,
747- dt_imageio_module_format_t * format ,
748- dt_imageio_module_data_t * format_params ,
749- const gboolean ignore_exif ,
750- const gboolean display_byteorder ,
751- const gboolean high_quality ,
752- const gboolean upscale ,
753- const gboolean is_scaling ,
754- const gboolean thumbnail_export ,
755- const char * filter ,
756- const gboolean copy_metadata ,
757- const gboolean export_masks ,
758- const dt_colorspaces_color_profile_type_t icc_type ,
759- const gchar * icc_filename ,
760- const dt_iop_color_intent_t icc_intent ,
761- dt_imageio_module_storage_t * storage ,
762- dt_imageio_module_data_t * storage_params ,
763- int num ,
764- const int total ,
765- dt_export_metadata_t * metadata ,
766- const int history_end )
746+ const char * filename ,
747+ dt_imageio_module_format_t * format ,
748+ dt_imageio_module_data_t * format_params ,
749+ const gboolean ignore_exif ,
750+ const gboolean display_byteorder ,
751+ const gboolean high_quality ,
752+ const gboolean upscale ,
753+ const gboolean is_scaling ,
754+ const gboolean thumbnail_export ,
755+ const char * filter ,
756+ const gboolean copy_metadata ,
757+ const gboolean export_masks ,
758+ const dt_colorspaces_color_profile_type_t icc_type ,
759+ const gchar * icc_filename ,
760+ const dt_iop_color_intent_t icc_intent ,
761+ dt_imageio_module_storage_t * storage ,
762+ dt_imageio_module_data_t * storage_params ,
763+ int num ,
764+ const int total ,
765+ dt_export_metadata_t * metadata ,
766+ const int history_end )
767767{
768768 dt_develop_t dev ;
769769 dt_dev_init (& dev , FALSE);
@@ -794,8 +794,9 @@ gboolean dt_imageio_export_with_flags(const dt_imgid_t imgid,
794794 filename ,img -> load_status );
795795 if (img -> load_status == DT_IMAGEIO_FILE_NOT_FOUND )
796796 dt_control_log (_ ("image `%s' is not available!" ), img -> filename );
797- else if (img -> load_status == DT_IMAGEIO_LOAD_FAILED || img -> load_status == DT_IMAGEIO_IOERROR ||
798- img -> load_status == DT_IMAGEIO_CACHE_FULL )
797+ else if (img -> load_status == DT_IMAGEIO_LOAD_FAILED
798+ || img -> load_status == DT_IMAGEIO_IOERROR
799+ || img -> load_status == DT_IMAGEIO_CACHE_FULL )
799800 dt_control_log (_ ("unable to load image `%s'!" ), img -> filename );
800801 else
801802 dt_control_log (_ ("image '%s' not supported" ), img -> filename );
@@ -913,13 +914,13 @@ gboolean dt_imageio_export_with_flags(const dt_imgid_t imgid,
913914 }
914915
915916 dt_print (DT_DEBUG_ALWAYS ,
916- "[dt_imageio_export_with_flags] %s%s%s%s%s modules:%s\n" ,
917- use_style && appending ? "append style history " : "" ,
918- use_style && !appending ? "replace style history " : "" ,
919- use_style ? "`" : "" ,
920- use_style && format_params ? format_params -> style : "" ,
921- use_style ? "'." : "" ,
922- mbuf );
917+ "[dt_imageio_export_with_flags] %s%s%s%s%s modules:%s\n" ,
918+ use_style && appending ? "append style history " : "" ,
919+ use_style && !appending ? "replace style history " : "" ,
920+ use_style ? "`" : "" ,
921+ use_style && format_params ? format_params -> style : "" ,
922+ use_style ? "'." : "" ,
923+ mbuf );
923924 }
924925
925926 if (filter )
0 commit comments