Skip to content

err:Error:Command failed with exit code3221225781:E\hexo\node_modules\mozjpeg\vendor\cjpeg.exe-baseline #112

@huanghaoh

Description

@huanghaoh

I don't know why this error is reported when compressing .jpg
View the picture
But when I change E:\hexo\node_modules\hexo-all-minifier\lib\optimizeImage.js
let targetfile = ['jpg', 'gif', 'png', 'svg']; ->let targetfile = ['jpeg', 'gif', 'png', 'svg'];
View the picture
No more errors are reported

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions