PNG Optimisation File Watcher for WebStorm

Categories: css, Javascript, Web Development

Tags: File Watchers, OptiPNG, WebStorm

Here is a great file watcher that will optimise any PNG file added or modified in the project. It uses OptiPNG and a 'scope' called 'PNG Images' that targets only PNG images

<taskoptions isenabled="true">
<option name="arguments" value="-strip all -v $FileDir$\$FileName$"></option>
<option name="checkSyntaxErrors" value="true"></option>
<option name="description" value="Uses OptiPNG to optimise new images"></option>
<option name="exitCodeBehavior" value="ALWAYS"></option>
<option name="fileExtension" value="Images"></option>
<option name="immediateSync" value="false"></option>
<option name="name" value="PNG Optimisasion"></option>
<option name="output" value=""></option>
<option name="outputFilters"> 
<option name="outputFromStdout" value="false"></option>
<option name="passParentEnvs" value="true"></option>
<option name="program" value="$PROJECT_DIR$/Tools/OptiPng/optipng.exe"> 
<option name="scopeName" value="PNG Images"></option>
<option name="trackOnlyRoot" value="false"></option>
<option name="workingDir" value="$ProjectFileDir$"></option>



  • college study plan said

    Pleasant to visit your site page once more, it has been months for me. Well this article i have been sat tight for so long. I require this piece to finish my task in school, and it has same theme with your piece.

  • get assignment done said

    One thing I need to state under a few conditions when I playing with various settings for particular document watcher, a portion of the dynamic File Watchers may simply quit working for no conspicuous reason no response at all such record watcher basically does not run. For this situation restarting IDE settle the issue for me. Check whether restarting IDE or entire PC will help you also.

  • order assignment papers said

    The source PNG document is constantly editable, constantly. You can backpedal and roll out extra improvements even after you've sent out your document for use on the Web. In the event that you apply a Live Effect, for instance, you can backpedal later and expel the impact, alter it, or include new impacts.

Add a Comment