Difference between revisions of "File:traffic lights list.png"
(Single states of the gif file. Each one has duration of 3s. 21 and 22 are the same, also 30 and 31. #!/bin/bash montage traffic_lights.gif -crop '670x150+18+22!' -coalesce -geometry '+6+3' -background white -tile 1x -border 2 -bordercolor black temp_r...) |
m (added Category:Helper comic images using HotCat) |
||
(One intermediate revision by one other user not shown) | |||
Line 2: | Line 2: | ||
Single states of the gif file. Each one has duration of 3s. 21 and 22 are the same, also 30 and 31. | Single states of the gif file. Each one has duration of 3s. 21 and 22 are the same, also 30 and 31. | ||
+ | <pre> | ||
#!/bin/bash | #!/bin/bash | ||
montage traffic_lights.gif -crop '670x150+18+22!' -coalesce -geometry '+6+3' -background white -tile 1x -border 2 -bordercolor black temp_right.png | montage traffic_lights.gif -crop '670x150+18+22!' -coalesce -geometry '+6+3' -background white -tile 1x -border 2 -bordercolor black temp_right.png | ||
Line 8: | Line 9: | ||
montage temp_left.png temp_right.png -tile 2x1 -mode Concatenate out.png | montage temp_left.png temp_right.png -tile 2x1 -mode Concatenate out.png | ||
rm temp* | rm temp* | ||
+ | </pre> | ||
+ | |||
== Licensing == | == Licensing == | ||
{{XKCD file derived}} | {{XKCD file derived}} | ||
+ | |||
+ | [[Category:Helper comic images]] |
Latest revision as of 18:37, 25 November 2012
Summary[edit]
Single states of the gif file. Each one has duration of 3s. 21 and 22 are the same, also 30 and 31.
#!/bin/bash montage traffic_lights.gif -crop '670x150+18+22!' -coalesce -geometry '+6+3' -background white -tile 1x -border 2 -bordercolor black temp_right.png for i in $(seq 01 32); do convert -size 90x160 xc:white -draw "gravity East scale 4,4 text 4,0 '$i'" temp_number_$(printf "%02d" $i).png; done montage temp_number* -tile 1x -mode Concatenate temp_left.png montage temp_left.png temp_right.png -tile 2x1 -mode Concatenate out.png rm temp*
Licensing[edit]
This file is based on or includes content from xkcd.com. Content from xkcd.com is licensed under the Creative Commons Attribution-NonCommercial 2.5 license. Details and usage notes can be found at xkcd.com/license.html. |
File history
Click on a date/time to view the file as it appeared at that time.
Date/Time | Thumbnail | Dimensions | User | Comment | |
---|---|---|---|---|---|
current | 14:45, 4 October 2012 | 776 × 5,120 (828 KB) | Joha.ma (talk | contribs) | Single states of the gif file. Each one has duration of 3s. 21 and 22 are the same, also 30 and 31. #!/bin/bash montage traffic_lights.gif -crop '670x150+18+22!' -coalesce -geometry '+6+3' -background white -tile 1x -border 2 -bordercolor black temp_r... |
- You cannot overwrite this file.
File usage
The following page links to this file: