thumbnail = bytes + result ->
  resample = ext <
                   name : 'resample.exe', mode : STD_PIPE_IO
                   parameters : { '--format=jpeg' '--size=128x96' length '-' '-' }
                   workdir : path
                 >
  ' length = '--length=' bytes._
  ' path -- parse -r file-names.1 path '/' .

  result = char-in resample.stdout
  ' - char-out resample.stdin bytes
_
  bytes, result : array : integer : 2^8
;