#17581Crop-Scaling the same image with different dimensions might produce wrong files
Description
If the same image needs to be generated more than once with different crop-scale configurations, it might occur that the same hash will be generated for both versions, so that the second crop-scaling will render the same image which was produced with the first crop-scaling.
Test with an 800×600 image:
page = PAGEpage {
10 = IMAGE
10 {
file = fileadmin/Blaue_Berge.jpg
file.width = 80c
file.height = 80c
wrap =
Image 80×80:
|
|
}
20 < .10
20.file.width = 100c
20.file.height = 80c
20.wrap =
Image 120×80:
|
|
}
Expected is two different files (and hashes), but we get the same hash twice (thus the same 80×80 file).
(issue imported from #M6261)
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.