Fix the thumbnail pixel size calculation when preserveAspectRatio is true
Fix the thumbnail pixel size calculation when preserveAspectRatio is true: a task in github-trending-environments-10k (Harbor dataset). Title: Fix the thumbnail pixel size calculation when preserveAspectRatio is true
The task
**Title:** Fix the thumbnail pixel size calculation when preserveAspectRatio is true