console.log('Generate avatar miniatures from existing avatars.')
await initDatabaseModels(true)
- JobQueue.Instance.init(true)
+ JobQueue.Instance.init()
const accounts: AccountModel[] = await AccountModel.findAll({
include: [
const source = join(CONFIG.STORAGE.ACTOR_IMAGES, sourceFilename)
const destination = join(CONFIG.STORAGE.ACTOR_IMAGES, newImageName)
- await processImage(source, destination, imageSize, true)
+ await processImage({ path: source, destination, newSize: imageSize, keepOriginal: true })
const actorImageInfo = {
name: newImageName,