Heise schreibt heute wieder mal was zum Thema: Apple will Bewegungserkennung als Nutzerschnittstelle patentieren lassen.
Wer sich für die Patentschrift interessiert, kann sich mit diesem bash-Script (benutzt wget und Imagemagick) ein PDF bauen:
#!/bin/sh # Download the us patent application us20090153474 # and convert the single tiff images to a more handy pdf. # pat="us20090153474" base="http://aiw2.uspto.gov" file="/.DImg?Docid=${pat}ki&IDKey=47B13F807488&ImgFormat=tif" cmd="convert" for (( i = 1; i < = 20; i++ )) do src="$base$file&PageNum=$i" if [[ $i -lt 10 ]] then num="0"$i else num=""$i fi dst="${pat}_$num.tiff" wget --output-document "$dst" "$src" cmd="$cmd $dst" if [[ $i -eq 1 ]]; then cmd="$cmd -rotate -90" fi if [[ $i -eq 8 ]]; then cmd="$cmd -rotate 90" fi done cmd="$cmd $pat.pdf" echo "$cmd"
Post a Comment