Commits (2)
{
"name": "mfgames-writing-format",
"version": "0.10.2",
"version": "0.10.3",
"description": "A command-line framework for formatting books into a variety of formats.",
"repository": {
"type": "git",
......
......@@ -111,6 +111,7 @@ function getFormatImageRequest(content: ContentArgs, href: string, imagePath: st
function processImage(content: ContentArgs, imageRequest: FormatImageRequest): Promise<FormatImageRequest> {
// Make a little noise.
content.logger.debug(`Processing image ${imageRequest.id}: ${imageRequest.imagePath}`);
content.logger.debug(`Image Buffer: ${imageRequest.buffer}`);
let FileType = require("file-type");
let imageMime = FileType(imageRequest.buffer);
content.logger.debug(`File Type: ${imageMime}`);
......