@@ -484,7 +484,7 @@ local function generate_ultrahdr(encoding_variant, images, settings, step, total
484
484
ok = copy_or_export (images [" hdr" ], hdr , " jpegxl" , DT_COLORSPACE_PQ_P3 , {
485
485
bpp = 10 ,
486
486
quality = 100 , -- lossless
487
- effort = 1 -- we don't care about the size, the faile is temporary.
487
+ effort = 1 -- we don't care about the size, the file is temporary.
488
488
})
489
489
if not ok then
490
490
table.insert (errors , string.format (_ (" Error exporting %s to %s" ), images [" hdr" ].filename , " jxl" ))
@@ -527,8 +527,8 @@ local function generate_ultrahdr(encoding_variant, images, settings, step, total
527
527
return cleanup (), errors
528
528
end
529
529
-- sanity check for file sizes (sometimes dt exports different size images if the files were never opened in darktable view)
530
- if file_size (sdr_raw ) ~= size_in_px * 4 or file_size (hdr_raw ) ~= size_in_px & 3 then
531
- table.insert (errors , string.format (_ (" Wrong raw image dimensions : %s, expected %dx%d. Try opening the image in darktable mode first." ), images [" sdr" ].filename , sdr_w , sdr_h ))
530
+ if file_size (sdr_raw ) ~= size_in_px * 4 or file_size (hdr_raw ) ~= size_in_px * 3 then
531
+ table.insert (errors , string.format (_ (" Wrong raw image resolution : %s, expected %dx%d. Try opening the image in darktable mode first." ), images [" sdr" ].filename , sdr_w , sdr_h ))
532
532
return cleanup (), errors
533
533
end
534
534
update_job_progress ()
@@ -766,7 +766,7 @@ This determines how the plugin groups images into separate stacks (each stack wi
766
766
- %s: Group images into stacks, using the source image path + filename (ignoring extension).
767
767
Use this method if the source images for a given stack are darktable duplicates.
768
768
769
- As an added precaution, each image in a stack needs to have the same dimensions .
769
+ As an added precaution, each image in a stack needs to have the same resolution .
770
770
]] ), _ (" one stack" ), _ (" multiple stacks (use filename)" )),
771
771
selected = 0 ,
772
772
_ (" one stack" ), -- SELECTION_TYPE_ONE_STACK
@@ -789,7 +789,7 @@ GUI.optionwidgets.quality_widget = dt.new_widget("slider") {
789
789
790
790
GUI .optionwidgets .gainmap_downsampling_widget = dt .new_widget (" slider" ) {
791
791
label = _ (' gain map downsampling steps' ),
792
- tooltip = _ (' Exponent (2^x) of the gain map downsampling factor.\n Downsampling reduces the file size, at the expense of quality .\n\n 0 = don\' t downsample the gain map, 7 = maximum downsampling (128x)' ),
792
+ tooltip = _ (' Exponent (2^x) of the gain map downsampling factor.\n Downsampling reduces the gain map resolution .\n\n 0 = don\' t downsample the gain map, 7 = maximum downsampling (128x)' ),
793
793
hard_min = 0 ,
794
794
hard_max = 7 ,
795
795
soft_min = 0 ,
0 commit comments