Thursday, February 4, 2010

Scanning Freqs Australia

frame blended with nautilus-script

The following script modifies a selected image with another to produce a frame smoked transparent a few pixels.

# / bin / sh # This script
change the input image by adding a fuzzy frame
# Dependencies: imagemagick, bc

# # 2010 - ver 0.1 - bleish.wordpress.com

PATH = `pwd` [-n "$ PATH"] & & cd "$ PATH"
if [$ # - eq 0];
then zenity - title = "PDFJoin" - error - title = "Warning" \\
- text = "Select a file."
exit 1
fi
h = `identify-format '% h'" $ 1 "`
w = `identify-format '% w'" $ 1 "`
h1 = `echo $ h-5 xc:-draw "$ string"-blur 30x3-denied "$ MASK.png"
convert "$ TEMPFILE.png" "$ MASK.png" + matte-compose-composite CopyOpacity "c $ 1.png"
rm-f "$ MASK.png"
rm-f "$ TEMPFILE.png"
rm-f "$ tempfile"
rm-f "$ MASK"


E 'useful to include the script in the nautilus-scripts in ~ /. gnome2/nautilus-scripts
represented in the images below you can see the result of running the script.





Scanning Freqs Australia

frame blended with nautilus-script

The following script modifies a selected image with another to produce a frame smoked transparent a few pixels.

# / bin / sh # This script
change the input image by adding a fuzzy frame
# Dependencies: imagemagick, bc

# # 2010 - ver 0.1 - bleish.wordpress.com

PATH = `pwd` [-n "$ PATH"] & & cd "$ PATH"
if [$ # - eq 0];
then zenity - title = "PDFJoin" - error - title = "Warning" \\
- text = "Select a file."
exit 1
fi
h = `identify-format '% h'" $ 1 "`
w = `identify-format '% w'" $ 1 "`
h1 = `echo $ h-5 xc:-draw "$ string"-blur 30x3-denied "$ MASK.png"
convert "$ TEMPFILE.png" "$ MASK.png" + matte-compose-composite CopyOpacity "c $ 1.png"
rm-f "$ MASK.png"
rm-f "$ TEMPFILE.png"
rm-f "$ tempfile"
rm-f "$ MASK"


E 'useful to include the script in the nautilus-scripts in ~ /. gnome2/nautilus-scripts
represented in the images below you can see the result of running the script.





Hot Cheetos And Stomaches

gnome-screenshot and snapshots partial desktop

gnome-screenshot is useful to capture a snapshot of the screen. On Linux systems (and ubuntu:-P) are configured by default the ability to capture a screenshot of the entire screen or active window, use the combination Alt + id keys Stamp and Stamp. Should the opportunity arise also from the console, with controls, respectively
gnome-screenshot-w
addition to these options, are interesting also use the delay required (- delay = seconds), the ability to add effects like shadows or edges (- = border effect - effect = shadow), and finally, the ability to display a convenient GUI to indicate these and other options before making the snapshot. However, the most attractive option is that it can indicate the region to capture the desktop in order to avoid annoying scraps and photo editing after capture:

gnome-screenshot-a This can be a custom command to be inserted between shortcuts keyboard, perhaps associated with the pressure of the key combination Ctrl + Print Screen. See the picture above for more details.


Hot Cheetos And Stomaches

gnome-screenshot and snapshots partial desktop

gnome-screenshot is useful to capture a snapshot of the screen. On Linux systems (and ubuntu:-P) are configured by default the ability to capture a screenshot of the entire screen or active window, use the combination Alt + id keys Stamp and Stamp. Should the opportunity arise also from the console, with controls, respectively
gnome-screenshot-w
addition to these options, are interesting also use the delay required (- delay = seconds), the ability to add effects like shadows or edges (- = border effect - effect = shadow), and finally, the ability to display a convenient GUI to indicate these and other options before making the snapshot. However, the most attractive option is that it can indicate the region to capture the desktop in order to avoid annoying scraps and photo editing after capture:

gnome-screenshot-a This can be a custom command to be inserted between shortcuts keyboard, perhaps associated with the pressure of the key combination Ctrl + Print Screen. See the picture above for more details.