Commits (2)
{
"name": "mfgames-writing-format",
"version": "0.9.1",
"version": "0.10.0",
"description": "A command-line framework for formatting books into a variety of formats.",
"repository": {
"type": "git",
......
......@@ -113,7 +113,7 @@ function processImage(content: ContentArgs, imageRequest: FormatImageRequest): P
content.logger.debug(`Processing image ${imageRequest.id}: ${path.basename(imageRequest.imagePath)}`);
// Start by reading in the image.
var promise: Promise<any> = jimp.read(imageRequest.buffer);
var promise: Promise<any> = jimp.read(imageRequest.imagePath);
promise = promise.then(image => {
return image;
......