JavaScript Can I marry Photoshop scripting with frontend workflow like Gulp or Grunt?

In our frontend build scheme we need to resize images for srcset attribute. I've tried to use gulp-responsive and other Gulp and Grunt plugins, but quality of result images is unacceptable.

So, can I use Photoshop scripts from Gulp or Grunt task, or, maybe, shell script? All I need is run Photoshop, do stuff and exit.

Thanks a lot!

Answer:1

I'm trying to get WebPack set up with TypeScript and some external libraries, but having some trouble. I'm importing the src version of jQuery in order to let WebPack choose the required modules (...

I'm trying to get WebPack set up with TypeScript and some external libraries, but having some trouble. I'm importing the src version of jQuery in order to let WebPack choose the required modules (...

I've got a more complex structure which breaks down into something like this: http://jsfiddle.net/HGLNz/14/ <ul> <li class="item top"></li> <li class="item top-middle"&...

I've got a more complex structure which breaks down into something like this: http://jsfiddle.net/HGLNz/14/ <ul> <li class="item top"></li> <li class="item top-middle"&...

On a tree layout using d3.js (example), I'd like to collapse nodes that are not in the branch that has been clicked on. For example, in the above demo, try the following: click on "Parent 1" (Child ...

On a tree layout using d3.js (example), I'd like to collapse nodes that are not in the branch that has been clicked on. For example, in the above demo, try the following: click on "Parent 1" (Child ...

Magento Javascript Question Does anyone know how I can call the session singleton in Javascript? I have a validation to a form like this which, everytime it validates the checkbox element, I want to ...

Magento Javascript Question Does anyone know how I can call the session singleton in Javascript? I have a validation to a form like this which, everytime it validates the checkbox element, I want to ...

  1. magento save data in custom table
  2. magento save data in cache
  3. magento save data in session
  4. magento save data
  5. magento save data to quote
  6. magento 2 save data in custom table
  7. magento 2 save data in model
  8. magento 2 save data into custom model
  9. magento 2 save data in session
  10. magento 1.9 save data in custom table
  11. magento 2 save data in database
  12. magento 2 save data in controller
  13. magento 2 save data to cache
  14. magento 2 save data
  15. magento save form data in database
  16. magento 2 save data in checkout session
  17. magento 2 save data using model
  18. magento model save data
  19. magento 1 save data
  20. magento save collection data