htmtools: Project Web Hosting - Open Source Software

Tool List

The tools used are open source, get licence details, fresh versions and sources at their web pages.
All files included in the win32 version are upx'd to reduce distribution size.
Be careful with your input files, some tools will overwrite them.


Tool Dialog



Internal tool - changes text of multiple files

don't delete this item.

  <item>
    <page>ChangeText</page>
    <pattern>*.htm*</pattern>
    <subdirs>1</subdirs>
    <tool />
    <input_opts />
    <output_opts />
    <output_patt />
    <create_subdir />
    <prt_size />
    <ext_output />
    <comment>internal</comment>
  </item>	

Tidy - checking html files

example: tidy -utf8 -ie *

  <item>
    <page>HtmlTidy</page>
    <pattern>*.htm*</pattern>
    <subdirs>1</subdirs>
    <tool>tools\tidy\tidy.exe</tool>
    <input_opts>-utf8 -ie</input_opts>
    <output_opts></output_opts>
    <output_patt></output_patt>
    <create_subdir></create_subdir>
    <prt_size></prt_size>
    <ext_output>1</ext_output>
    <comment>check html files</comment>
  </item>

Jpegtran - cleaning jpegs

example: jpegtran -optimize * *

  <item>
    <page>JpegClean</page>
    <pattern>*.jp*</pattern>
    <subdirs></subdirs>
    <tool>tools\jpegtran\jpegtran.exe</tool>
    <input_opts>-optimize</input_opts>
    <output_opts></output_opts>
    <output_patt>*</output_patt>
    <create_subdir></create_subdir>
    <prt_size>1</prt_size>
    <ext_output></ext_output>
    <comment>removes exif-tag</comment>
  </item>

ImageMagick - image manipulation

example: convert -verbose * -thumbnail x160 tn/*-tn

  <item>
    <page>IM Convert</page>
    <pattern>*.jp*</pattern>
    <subdirs></subdirs>
    <tool>convert.exe</tool>
    <input_opts>-verbose</input_opts>
    <output_opts>-thumbnail x160</output_opts>
    <output_patt>*-tn</output_patt>
    <create_subdir>tn</create_subdir>
    <prt_size>1</prt_size>
    <ext_output></ext_output>
    <comment>creates thumbnails</comment>
  </item> 

FFMpeg - transcoding of video streams

example: ffmpeg -y -i * -f flv/*.flv

  <item>
    <page>FFMpeg</page>
    <pattern>*.avi</pattern>
    <subdirs></subdirs>
    <tool>ffmpeg.exe</tool>
    <input_opts>-y -i</input_opts>
    <output_opts>-f flv</output_opts>
    <output_patt>*.flv</output_patt>
    <create_subdir>flv</create_subdir>
    <prt_size>1</prt_size>
    <ext_output>1</ext_output>
    <comment>avi2flash</comment>
  </item>

Strip - reduces executable size by removing debug information

example: strip *

  <item>
    <page>Strip</page>
    <pattern>*.exe</pattern>
    <subdirs></subdirs>
    <tool>tools\upx\strip.exe</tool>
    <input_opts></input_opts>
    <output_opts></output_opts>
    <output_patt></output_patt>
    <create_subdir></create_subdir>
    <prt_size>1</prt_size>
    <ext_output>1</ext_output>
    <comment>remove debug information</comment>
  </item>

UPX - reduces executable size by compressing - strip beforehand

example: upx -6 --compress-icons=0 *

  <item>
    <page>Upx</page>
    <pattern>*.exe</pattern>
    <subdirs></subdirs>
    <tool>tools\upx\upx.exe</tool>
    <input_opts>-6 --compress-icons=0</input_opts>
    <output_opts></output_opts>
    <output_patt></output_patt>
    <create_subdir></create_subdir>
    <prt_size>1</prt_size>
    <ext_output>1</ext_output>
    <comment>compressing executables</comment>
  </item> 

OggDec - converts ogg vorbis to wav

example: oggdec * -w wav/*.wav

  <item>
    <page>ogg2wav</page>
    <pattern>*.ogg</pattern>
    <subdirs></subdirs>
    <tool>tools\vorbis\oggdec.exe</tool>
    <input_opts></input_opts>
    <output_opts>-w</output_opts>
    <output_patt>*.wav</output_patt>
    <create_subdir>wav</create_subdir>
    <prt_size>1</prt_size>
    <ext_output></ext_output>
    <comment>converts ogg vorbis -> wav</comment>
  </item>

Volumax - normalizes wav

example: volumax -y -g -0.3 *

  <item>
    <page>volumax</page>
    <pattern>*.wav</pattern>
    <subdirs></subdirs>
    <tool>tools\vorbis\volumax.exe</tool>
    <input_opts>-y -g -0.3</input_opts>
    <output_opts></output_opts>
    <output_patt></output_patt>
    <create_subdir></create_subdir>
    <prt_size>1</prt_size>
    <ext_output></ext_output>
    <comment>normalizes wav</comment>
  </item> 

Lame - converts wav to mp3

example: lame --preset standard * mp3/*.mp3

  <item>
    <page>wav2lame</page>
    <pattern>*.wav</pattern>
    <subdirs></subdirs>
    <tool>tools\vorbis\lame.exe</tool>
    <input_opts>--preset standard</input_opts>
    <output_opts></output_opts>
    <output_patt>*.mp3</output_patt>
    <create_subdir>mp3</create_subdir>
    <prt_size>1</prt_size>
    <ext_output></ext_output>
    <comment>converts wav -> mp3</comment>
  </item> 

(to be extended)