What do you want to do in the end (overview)
I want to automate Image Editing using JavaScript (with canvas tag)
*Batch processing in Windows environment
What you want to do in the end (process flow)
1. Place multiple image files in folder a in Windows
2.Automatically load files in JavaScript (without user intervention)
3. After image processing in JavaScript, draw on canvas tag
4. Output the image file obtained from the canvas tag to the z folder in Windows
What I don't know
Is there a way for JavaScript to automatically load files in the designated folder in Windows?
·Is there any way that JavaScript (canvas tag) can be used in Windows that can be used above?
·Is it possible to use a headless browser?
Supplementary
Any way you can use JavaScript in your Windows environment is fine.I asked because I wanted to automate the process of selecting folders in my browser.
I'm not familiar with this word, but I think it's possible with a headless browser.
Node.js can print files to folders in Windows.
Why don't you try a headless browser with Puppeteer?
© 2024 OneMinuteCode. All rights reserved.