Added sharpness and re-added entropy to avatars, ignoring low-entropy photos as main avatar and in profile photo list.

This commit is contained in:
DebaucheryLibrarian
2020-12-20 04:21:28 +01:00
parent cbcac0725d
commit 5f4039c5d4
7 changed files with 128 additions and 87 deletions

View File

@@ -35,6 +35,7 @@ exports.up = knex => Promise.resolve()
table.integer('width', 6);
table.integer('height', 6);
table.float('entropy');
table.float('sharpness');
table.text('scraper', 32);
table.text('credit', 100);