Saturday, March 19, 2011

GIMP Color-to-Alpha

Eliminate a solid background behind text or a simple figure:
For instance, if you have a solid white background with antialiased text on it,
and you want to keep the text but change the background to transparent:
The Color to Alpha plug-in (in the Colors menu) will usually do a nice job, much better than Select by Color. If you need to touch up small areas, try drawing with the Paintbrush tool, with the foreground color set to the background color you want to erase and the tool's Mode set to Color Erase. (Make sure you've enabled alpha on the layer.)

This tool is under the "Color" menu -> Color to Alpha

Thursday, March 10, 2011

svn: Can't move '.svn/tmp/entries' to '.svn/entries': Operation not permitted sshfs

Are you getting this error message on svn checkout with sshfs?

svn: Can't move '.svn/tmp/entries' to '.svn/entries': Operation not permitted sshfs

# Add the -o workaround=rename option fixes the problem

sshfs -o workaround=rename user@server:/dir ~/mnt/dir