Project Management with Linux

From DPWiki
Jump to: navigation, search

The main obstacle for Linux Project Managers to do all the necessary steps required to establish a project on the DP server is to find sufficient and capable open-source software. This article should provide a starting point for new Project Managers using Linux distributions looking for good FOSS (Free and Open Source) software to use.

Image Conversion

Image conversion can be done with a handy command-line tool called ImageMagick. Image Magick is an open-source software suite for displaying, converting, and editing raster image files. It can read and write over 100 image file formats. It is available here

The one little issue with using ImageMagick is that it is not designed for batch conversion. This can be worked around simply with a small shell script. Below is a shell script that will batch convert .jp2 files to black and white .tif files with a 50% threshold value.

#!/bin/sh

for FILE in `ls *.jp2`;
do
	FILEOUT=`echo $FILE | sed -e 's/.jp2/.tif/'`;
	convert $FILE -depth 1 -threshold 50% $FILEOUT;
done;

The following shell script can be used to convert .jp2 files to .png files:

#!/bin/sh

for FILE in `ls *.jp2`;
do
	FILEOUT=`echo $FILE | sed -e 's/.jp2/.png/'`;
	convert $FILE $FILEOUT;
done;

ImageMagick can also be used for batch resizing, cropping, compressing, etc.

OCR

Abbyy FineReader can be run under WINE. Versions 5 and 7 are known to work, page layout blocks can be edited, the OCR can be trained. You will probably have to open previously scanned files for OCR, rather than use FineReader to control your scanner directly.

Tesseract is a simple but accurate command line OCR program that can be used instead of Abbyy FineReader. It is a available here. This program also does not support batch processing but the following shell script will deal with this issue

#!/bin/sh

for FILE in `ls *.tif`;
do
	FILEOUT=`echo $FILE | sed -e 's/.tif//'`;
	tesseract $FILE $FILEOUT;
done;

Image Viewing

Geeqie is quite sufficient for this. It is available at https://sourceforge.net/projects/geeqie/

Image Editing

GIMP is a good free program that can more than you could ever need to do with an image. One little thing that is helpful to realise is that GIMP is also good for batch editing of images. This can either be done through the command line or with a little GUI plugin called David's Batch Processor.

Text Preparation

Guiprep and Guiguts both run smoothly with Linux.