Difference between revisions of "Artnet-Tools"
From Tomelec
m |
|||
| Line 5: | Line 5: | ||
= Mapping = | = Mapping = | ||
| + | == Panels == | ||
| + | Derzeit implementierte panels: | ||
| + | |||
| + | {| border="1" | ||
| + | !Panel | ||
| + | !Parameter | ||
| + | !hä? | ||
| + | |''pixelpanel'' | ||
| + | |x y w h | ||
| + | |rechteckiges 1:1 Pixelmapping | ||
| + | |- | ||
| + | |''cielos600_r'' | ||
| + | |x y | ||
| + | |90° rechtsgedrehtes 12x12 Pixelpanel | ||
| + | |- | ||
| + | |Butter | ||
| + | |Eis | ||
| + | |} | ||
| + | * ''pixelpanel'' x y w h | ||
| + | * ''cielos600_r'' x y | ||
== Ganze panels in vi verschieben == | == Ganze panels in vi verschieben == | ||
Das verschiebt alle ''pixelpanel'' um 100 pixel nach links und 200 pixel nach oben: | Das verschiebt alle ''pixelpanel'' um 100 pixel nach links und 200 pixel nach oben: | ||
<nowiki>:%s/\(^pixelpanel[ ]*\)\([0-9]*\)[ ]*\([0-9]*\)/\=submatch(1).eval(submatch(2) - 100)." ".eval(submatch(3) - 200)/g</nowiki> | <nowiki>:%s/\(^pixelpanel[ ]*\)\([0-9]*\)[ ]*\([0-9]*\)/\=submatch(1).eval(submatch(2) - 100)." ".eval(submatch(3) - 200)/g</nowiki> | ||
Revision as of 15:22, 13 June 2012
Contents
Konvertieren verschiedener Formate
PNG Sequenz -> raw RGB
Verwendet Image Magick´s convert.
for file in *.png; do convert $file rgb:- >> ../outfile.raw; done
Mapping
Panels
Derzeit implementierte panels:
| Panel | Parameter | hä? | pixelpanel | x y w h | rechteckiges 1:1 Pixelmapping |
|---|---|---|---|---|---|
| cielos600_r | x y | 90° rechtsgedrehtes 12x12 Pixelpanel | |||
| Butter | Eis |
- pixelpanel x y w h
- cielos600_r x y
Ganze panels in vi verschieben
Das verschiebt alle pixelpanel um 100 pixel nach links und 200 pixel nach oben:
:%s/\(^pixelpanel[ ]*\)\([0-9]*\)[ ]*\([0-9]*\)/\=submatch(1).eval(submatch(2) - 100)." ".eval(submatch(3) - 200)/g