NPM script is needed to massive image size reduction
15 USDHere is an example of the lib and the finished algorithm: https://ahmadawais.com/resize-optimize-images-javascript-node/
I have to make it work for me.
I expect to run two teams on Linux:
$ npm install --save
$ npm run start
and as a result the script will find in the current directory (recursively, including in the submap) all jpg, jpeg and png files, in which the width or height is more than 1200 and will reduce them to 1200 with preserving the ratio will resize.
The original filename.jpg file is deleted or renamed to filename.jpg.bak. It is desirable that there is some config-file to indicate these settings.
thank you.
Нужен npm script для массового рекурсивноuj уменьшения размера фото.
Вот пример, либа и готовый алгоритм: https://ahmadawais.com/resize-optimize-images-javascript-node/
Нужно сделать, чтобы оно работало для меня)
я ожидаю, что я на linux-е запускаю две команды:
$ npm install --save
$ npm run start
и в результате скрипт найдёт в текущей дирректории (рекурсивно, в том числе в подпапках подпапок) все jpg, jpeg и png файлы,у которых ширина или высота больше 1200 и уменьшит их до 1200 с сохранением соотношения сделает resize.
Оригинальный файл filename.jpg при этом удаляется, либо переименовывается в filename.jpg.bak. Желательно, чтобы был нейкий конфиг-файл для указания этих настроек.
Спасибо.
Client's feedback on cooperation with Denis Yermilov
NPM script is needed to massive image size reductionEverything is good. Denis carried out the project on my TZ, answered all the questions and with the start of the script with me on the site. I recommend it.
Profile deleted
Freelancer's feedback on cooperation with client
NPM script is needed to massive image size reductionA regular customer with a clear TZ and understanding of the task. Very pleasant to collaborate)
-
Winning proposal1 day15 USD
211 6 0 1 Winning proposal1 day15 USDI can do it quickly. Everything will be as you describe, with the configuration file and/or the start parameters (if desired, it will not affect the cost)
Могу оперативно выполнить. Все будет как вы описали, с конфигурационным файлом и/или параметрами запуска (по желанию, не повлияет на стоимость)
Current freelance projects in the category Node.js
Modification and maintenance of React/Node.js websiteGood day, looking for a freelancer with knowledge of React/Node.Js for their receipt generator microservice project. Website: receiptmaker.io There is a list of tasks that will need to be implemented in the future (adding new pages to the site with content on a monthly basis,… JavaScript, Node.js ∙ 24 proposals |
React.js Developer for the Bucking PlatformI am looking for an experienced Full-stack React developer to work on the project (online-bucking service). Technologies: React.js, React Native, Angular, Node.js, MongoDB JavaScript, Node.js ∙ 24 proposals |
AWS Video CDN Engineer / Specialist |
Creating a backend on Node.jsIt is unnecessary to implement the basic modules for gaming in the game: - Top players- Ranking and coins game- Detailed game statistics- Search for game- Dynamics of game mechanics in the most game session in the mafia- Social features: The invitation of friends - View… JavaScript, Node.js ∙ 14 proposals |
Analyze and deploy a project on the server
51 USD
|