CouchDB worker which converts images