The Wiert Corner – irregular stream of stuff

Jeroen W. Pluimers on .NET, C#, Delphi, databases, and personal interests

  • My badges

  • Twitter Updates

  • My Flickr Stream

  • Pages

  • All categories

  • Enter your email address to subscribe to this blog and receive notifications of new posts by email.

    Join 4,262 other subscribers

Archive for December 28th, 2015

Mac OS X: integrating Beyond Compare 4 into SourceTree 2.x

Posted by jpluimers on 2015/12/28

Unlike SourceTree for Windows, SourceTree for Mac still doesn’t automagically detect Beyond Compare even though that has been available for Mac OS X since :  [SRCTREE-2092] Add built-in support for Beyond Compare version 4 – Atlassian JIRA.

Even modifying my ~/.gitconfig didn’t work, but manual configuration did. Here are the steps:

  1. Start the UI version of Beyond Compare
  2. Select the Beyond Compare menu, install the command-line tools
    Read the rest of this entry »

Posted in Apple, Beyond Compare, Development, DVCS - Distributed Version Control, Keyboards and Keyboard Shortcuts, Mac, Mac OS X / OS X / MacOS, MacBook, MacBook Retina, MacBook-Air, MacBook-Pro, OS X 10.10 Yosemite, OS X 10.8 Mountain Lion, OS X 10.9 Mavericks, Power User, Source Code Management, SourceTree | 3 Comments »

Steps for adjusting a whiteboard photo in Gimp

Posted by jpluimers on 2015/12/28

A long time ago, I wrote about Steps for adjusting a whiteboard photo in Paint.NET.

GIMP does an even better job with these steps:

Once: install the clean-whiteboard-photo script

  1. Visit https://github.com/kyleburton/sandbox/blob/master/gimp/clean-whiteboard-photo.scm
  2. Click “raw”
  3. Hit “Ctrl-S” to save the file as file-type “*.txt” and file-name  “%temp%\clean-whiteboard-photo_scm.txt”
  4. Go to the folder “%temp%”
  5. In there,
    1. select the firle  “clean-whiteboard-photo_scm.txt”,
    2. change it into  “clean-whiteboard-photo.scm”,
    3. copy the file
  6. Go to the folder  “C:\Program Files\GIMP 2\share\gimp\2.0\scripts”
  7. Paste the file (you need to confirm Administrator rights through UAC)

The above steps will add this menu option to GIMP: menu “Filters” -> “Whiteboard” -> “Clean whiteboard photo”

For every picture: make it less ugly

  1. Start GIMP 2
  2. Open the picture
  3. With the “Rectangle Select” Tool (R), select the area of the whiteboard that you want to enhance
    1. If the area is not completely rectangular, make the selection large enough to cover everything needed in the final picture
  4. Only when the selection needs adjustment to make it rectangular:
    1. Choose the “Perspective” Tool (Shift-P)
    2. Drag the incorrect corners until the selection is rectangular
    3. In the “Perspective” tool window, click “Transform” to confirm
    4. The selection now is not rectangular any more, so deselect everything:
      1. In the menu, choose “Select” -> “None” (Shift-Ctrl-A)
  5. With the “Rectangle Select” Tool (R), select the area of the whiteboard that you want to enhance
  6. In the menu, choose “Image” -> “Fit canvas to selection”
  7. In the menu, choose “Filters” -> “Whiteboard” -> “Clean whiteboard photo”
  8. Click next to the selection to confirm the cleanup
  9. In the menu, choose “File” -> “Export”
    1. Save the file under a new name (often a PNG extension will give better compression than JPEG, and has less artifacts as well)

–jeroen

via: Steps for adjusting a whiteboard photo in Paint.NET « The Wiert Corner – irregular stream of stuff.

Posted in Image Editing, Power User | Leave a Comment »