Dimensionist
CouchDB daemon to extract dimensions from image attachments.
Usage
Dimensionist can be used as os_daemon
and from the command line.
When Dimensionist finds an image it will extract the dimensions
(http-image-size) and populate a
dimensions
property:
Currently JPEG, PNG and GIF images are supported.
Installation
npm install -g dimensionist
Client
dimensionist --blacklist _users,_replicator
Daemon
Add Dimensionist to os_daemons
config section (eg. in local.ini):
[os_daemons]dimensionist = dimensionist
[dimensionist]; Optional username and password, used by the workers to access the database username = mein-userpassword = secure; Only documents in the databases below are processed (separate with comma). ; Regular expressions are allowed: ;whitelist = mydb,otherdb,/^special-.*/ ; Ignore the following databases (again comma separated list) ; Regular expressions are again allowed: blacklist = /^_/
License
Copyright (c) 2014 Johannes J. Schmidt, null2 GmbH
Licensed under the MIT license.