~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~ [ freetext search ] ~ [ file search ] ~

Open Mash Cross Reference
mash/codec/jpeg/mkdiff

Component: ~ [ mash ] ~ [ apps ] ~ [ gsm ] ~ [ lib ] ~ [ otcl ] ~ [ srm ] ~ [ tcl8.3 ] ~ [ tclcl ] ~ [ tk8.3 ] ~ [ tutorials ] ~

  1 #!/bin/csh -f
  2 set last="__xxx__"
  3 foreach in ( out-*.jpg )
  4         set base=`echo $in | sed -e 's/\.jpg//'`
  5         djpeg -gray -pnm "$base".jpg > "$base".pgm
  6         if ( -f "$last".pgm ) then
  7                 pnmarith -absdiff "$base".pgm "$last".pgm > "$base"-diff.pgm
  8         endif
  9         set last=$base
 10 end

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~ [ freetext search ] ~ [ file search ] ~

This page was automatically generated by the LXR engine.
Visit the LXR main site for more information.