DEV: Update megapixel requirement for small image

This commit is contained in:
Keegan George 2024-08-14 11:16:46 -07:00
parent 3db9c32ec3
commit 5cb4127b95
No known key found for this signature in database
GPG Key ID: 91B40E38537AC000
1 changed files with 2 additions and 2 deletions

View File

@ -84,10 +84,10 @@ export default apiInitializer("1.25.0", (api) => {
}
);
// Checks if image is small (≤ 0.4 MP)
// Checks if image is small (≤ 0.1 MP)
function isSmallImage(width, height) {
const megapixels = (width * height) / 1000000;
return megapixels <= 0.4;
return megapixels <= 0.1;
}
function needsImprovedCaption(caption) {