This was a short bash script I wrote to help document some startup problems on a server. The script was grabbing screen dumps from iDRAC during boot on a RHEL6 server, but it can be used on other distributions as well since the console command xwd is common. #!/bin/bash # Description: # Grab screenshot of […]
Posts Tagged: PNG
convert -size 200×30 xc:transparent -font /usr/share/fonts/dejavu/DejaVuSansMono.ttf -fill black -pointsize 12 -draw “text 5,15 ‘this is just a test’” test.png
A solution that is fast flexible and gives great results. It is not Open Source but it is a free download for Linux. You may have heard of it before. Wink is a utility for creating flash/swf based presentations.
Sometimes it is useful to collect some pictures from some different DVD’s to a new one. But what to do if the original pictures are deleted now. You can use the following command to extract the pictures first. transcode -x mpeg2 -i VTS_01_1.VOB -y im -F jpg -w 100 -F jpg, png, gif ==> picture […]
#!/bin/bash # Hans-Henry Jakobsen # Script som bl.a resizer bilder og legger de i rett mappe # NB! ikke bruk originalfil da dette script sletter fila # Sjekker at mapper eksisterer if [ ! -d 320 ] then mkdir 320 fi if [ ! -d 480 ] then mkdir 480 fi for file in $(ls|grep […]