Worth a try: Skitch a simple and brilliant image editor

Category : Worth a try

Skitch is a very easy to use and simple image editor. The developers say you can learn Skitch in minutes, and this is actually true !!!

Skitch offers the following  features:

  • Take screen captures
  • Crop and resize photos
  • Draw or annotate photos
  • Sketch
  • Re-open images from your Skitch History
  • Drag the file to wherever you like, no need to save

We strongly recommend this software. Many of the screeshoots used in this website were taken and edited using Skitch.

Go to their website and check: http://www.skitch.com

Popularity: 5% [?]

Simple bash script to create thumbnails from images

1

Category : Scripts

Hi, this is a script compatible with both mac and linux to generate thumbnails of images contained in a specific folder. It works with JPG and PNG files.

Here is the source code:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
#!/bin/bash

# Copyright 2010 Marcelo Carlos
#
# createThumbnails is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
#
# createThumbnails is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
#
# Check http://www.gnu.org/licenses/ for full GNU General Public License details

CONVERT="$(which convert)"

if [ $# -lt 3 ]; then
    echo
    echo "Usage: createThumbnails <source-folder> <max-width> <max-height>"  
    echo   
    exit 1
else
    SOURCE_FOLDER=$1
    MAX_W=$2
    MAX_H=$3   
    SEPARATOR="x"  
    CONVERTED=false
   
    if [ ! -x "$CONVERT" ]; then
        echo "ERROR: convert not installed" >&2
        exit 2
    fi
   
    for img in `ls *.jpg 2> /dev/null`
    do
        convert -sample $MAX_W$SEPARATOR$MAX_H $img thumb-$img
        CONVERTED=true
    done

    for img in `ls *.jpeg 2> /dev/null`
    do
        convert -sample $MAX_W$SEPARATOR$MAX_H $img thumb-$img
        CONVERTED=true
    done

    for img in `ls *.png 2> /dev/null`
    do
        convert -sample $MAX_W$SEPARATOR$MAX_H $img thumb-$img
        CONVERTED=true
    done
   
    if [ $CONVERTED == true ]; then
        echo "Done"
    else
        echo "Nothing to be done. No JPG or PNG file(s) found" 
    fi
fi

Alternatively, you can download the script clicking here

I hope you like it. If you have suggestions or questions, please comment!

Popularity: 11% [?]