DEV: Update megapixel requirement for small image
This commit is contained in:
parent
3db9c32ec3
commit
5cb4127b95
|
@ -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) {
|
function isSmallImage(width, height) {
|
||||||
const megapixels = (width * height) / 1000000;
|
const megapixels = (width * height) / 1000000;
|
||||||
return megapixels <= 0.4;
|
return megapixels <= 0.1;
|
||||||
}
|
}
|
||||||
|
|
||||||
function needsImprovedCaption(caption) {
|
function needsImprovedCaption(caption) {
|
||||||
|
|
Loading…
Reference in New Issue