Added Men network and Icon Male to MindGeek. Added entropy filter to media module to help filter out generic avatars. Added Pure Taboo. Various logo updates.

This commit is contained in:
2020-01-30 01:14:31 +01:00
parent 04e9d29010
commit ff61094b69
124 changed files with 360 additions and 16 deletions

18
src/utils/img.js Normal file
View File

@@ -0,0 +1,18 @@
'use strict';
const bhttp = require('bhttp');
const sharp = require('sharp');
const { argv } = require('yargs');
const url = argv.url || 'http://localhost:5000/media/actors/tommy-pistol/1580341442712.jpeg';
async function scan() {
console.log(url);
const res = await bhttp.get(url);
const stats = await sharp(res.body).stats();
console.log(stats);
}
scan();