Batch processing – Resizing and embedding watermarks into images using ImageMagick for Windows and Linux

March 19, 2017

As a response to a recent question I came across, I want to share a simple bash script for embedding a watermark image/logo and resizing multiple images at the same time for online publishing.

In order to use the script below you need to install imagemagick and if you are using Windows you either have to install the cygwin environment or you would have to rewrite this simple script as a bat script. read more

Debugging ROS nodes started from launch file with Eclipse

December 14, 2014

Requirements

  • Imported ROS project into Eclipse workspace (see http://wiki.ros.org/IDEs for details)
  • Installed gdbserver (apt-get install gdbserver)

Follow the steps below.

1) Adjust the launch file:

Add this to the node tag if you want a new terminal window for the process

::CODECOLORER_BLOCK_9::

or add the following if you want to stay in the current started terminal.

::CODECOLORER_BLOCK_10::

2) Eclipse Debug Configuration

Add a new Eclipse debug run configuration for C/C++ Remote Application. Adjust the path to your C/C++ application binary, leave everything else default read more

Enable full (Internet) VPN tunneling in Linux Network-Manager

September 12, 2014

I have successfully configured a VPN connection to my home router, thus, I was able to access machines in my private LAN. Moreover, I wanted to tunnel my whole Internet traffic over this connection. Even a google search could not answer, how to solve this with the network-manager which is used in most Linux desktops. read more

Truecrypt performance test on Netgear ReadyNAS 102

January 1, 2014

Happy New Year everybody!

This follow up post to my last article about using Truecrypt on my ReadyNAS 102 (with  two Seagate Pipeline HD ST2000VM003 – 2 TB – 5900 rpm RAID 1) (http://www.ceh-photo.de/blog/?p=809 ) will examine the transfer performance while using Truecrypt. read more

Truecrypt on Netgear ReadyNAS 100 series (Debian) with auto mount on attached keyfile thumb drive dongle

December 30, 2013

Since I own a Netgear ReadyNAS 102 I was wondering how I could use encryption for special content in a convenient way. Because the Netgear firmware does not provide an encryption feature inside its ReadyNAS OS wrapper on top of the underlying Debian Linux I decided to have a closer look on Truecrypt, which I already have in use on my other desktop and mobile computers. read more

Adjust exif timestamp on command-line with exiftool

November 30, 2013

I just realized that I forgot to change the timezone/time settings in my camera since I am back from Asia (~6month). In order to fix the timestamp on all my photos I made during this time period I used exiftool for doing this on the command-line.

Move all timestamps minus 6 hours for all picture files (JPG and RAW) in current directory. read more

Android-x86 ICS 4.0.3 for Acer1000 series – Beta 1 (Acer 1825, 1820, 1425, 1420 and compatible Packard Bell (Butterfly Touch …))

March 8, 2012

Beta 2 is available –> http://www.ceh-photo.de/blog/?p=480

I am very proud to present you my new Android-x86 build for the Acer1000 series, which is the first version of the Android ICS (Ice Cream Sandwich) 4.0.3. release. This release is up to date with current development status of the android-x86.org repo and includes the gapps package. read more

Android-x86 Honeycomb 3.2 for Acer1825 series – Beta 3 (Acer 1825, 1820, 1425, 1420 and compatible Packard Bell)

January 18, 2012

ICS beta 1 is out please step forward to this release! http://www.ceh-photo.de/blog/?p=464

So it takes some/a lot of time to develop this new build (more like expected like every time), but I tried to put as much as possible into beta3. But I struggled hard with the integration of something like a slider mechanism on a phone, if you change from tablet to laptop mode and vice versa. My goal was automatically disabling/enabling onscreen keyboard and locking screen rotation in laptop mode, but it seems like this is one of these things which are not really well implemented in honeycomb and may a reason why google published that code so late (google sayed some things are really hacked together in honeycomb… and if I compare responsible files in honeycomb and ics there are a lot of changes and commented dead code in honeycomb). So the result is, I got really deep in touch with android internals, but I could not solve the problem and decided to step back and publish my new beta 3 without this feature, because I had already done a lot (see below). Inside the tips and information sections I will try to answer some unanswered questions from comments. read more