+ dcp::Size const cropped_size = corrected_crop.apply (size());
+
+ /* Hack: if we're not doing quite the crop that we were asked for, and we carry on scaling
+ * to the inter_size we were asked for, there is a small but noticeable wobble in the image
+ * luminance (#1872). This hack means we will jump in steps of the subsampling distance
+ * in both crop and scale.
+ */
+ inter_size.width = round_width_for_subsampling(inter_size.width, in_desc);
+ inter_size.height = round_width_for_subsampling(inter_size.height, in_desc);