Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Module still working? #264

Open
walruzperil opened this issue Mar 28, 2024 · 1 comment
Open

Module still working? #264

walruzperil opened this issue Mar 28, 2024 · 1 comment

Comments

@walruzperil
Copy link

walruzperil commented Mar 28, 2024

Hi, just try simple script:

var images = require("images");

images("input.jpg")                     //Load image from file 
                                        //加载图像文件
    .size(400)                          //Geometric scaling the image to 400 pixels width
                                        //等比缩放图像到400像素宽
    .save("output.jpg", {               //Save the image to a file, with the quality of 50
        quality : 50                    //保存图片到文件,图片质量为50
    });

but img not saved, no error in console...

@oxUnd
Copy link
Collaborator

oxUnd commented May 1, 2024

ok, i see see.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants