I have for example a set of images that I want to resize to 1280x720 and output an optimal PNG file. I am using RIOT 1.0.1. I go into batch mode, select my images, select an output folder different from input files, add 'resize' as additional task and press 'start.'
This works for almost all images, but for some images RIOT will instead just copy the file at the original resolution. This appears to happen if the input and output image are the same size. This may be a suitable optimization when the resolution is unchanged, but does not produce the desired result when resizing is selected as the output will not be in the selected resolution.
Reproduce:
Create an all black image at for example 1920x1080 resolution and save to PNG. Use RIOT batch mode with additional task resize at for example 1280x720 resolution. Output will be 1920x1080 resolution. Correct output should be 1280x720 resolution.
I suspect RIOT uses the original file if the output size is the same or nearly the same as the original. This optimization should be skipped when resize is selected as an additional task. I suspect that flip and rotate may be similarly affected but have not tested.