image.rst
author Oleksandr Gavenko <gavenkoa@gmail.com>
Mon, 22 Feb 2016 12:46:36 +0200
changeset 1905 fba288d59662
parent 1731 e7892a2f6ba9
child 1912 8b81a8f0f692
permissions -rw-r--r--
Include only local subsections into TOC. This prevent duplication of TOC when build single page HTML document. Also this make unnecessary CSS hack to hide document title as top level section.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
1334
9bf0d5a1f0cf Include common header with quick links.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     1
.. -*- coding: utf-8; -*-
9bf0d5a1f0cf Include common header with quick links.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     2
.. include:: HEADER.rst
9bf0d5a1f0cf Include common header with quick links.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     3
9bf0d5a1f0cf Include common header with quick links.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     4
========
9bf0d5a1f0cf Include common header with quick links.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     5
 Image.
9bf0d5a1f0cf Include common header with quick links.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     6
========
1346
a2fbf50a43f4 Fix: Has no 'contents::' directive.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1334
diff changeset
     7
.. contents::
1905
fba288d59662 Include only local subsections into TOC. This prevent duplication of
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1731
diff changeset
     8
   :local:
1334
9bf0d5a1f0cf Include common header with quick links.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     9
1579
70096c1070db Join icons to sprite.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1346
diff changeset
    10
Viewers.
70096c1070db Join icons to sprite.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1346
diff changeset
    11
========
70096c1070db Join icons to sprite.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1346
diff changeset
    12
1334
9bf0d5a1f0cf Include common header with quick links.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    13
GraphicsMagick.
1579
70096c1070db Join icons to sprite.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1346
diff changeset
    14
---------------
1334
9bf0d5a1f0cf Include common header with quick links.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    15
9bf0d5a1f0cf Include common header with quick links.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    16
GraphicsMagick command-line utilities to create, edit, or convert images.
9bf0d5a1f0cf Include common header with quick links.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    17
9bf0d5a1f0cf Include common header with quick links.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    18
ImageMagick.
1579
70096c1070db Join icons to sprite.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1346
diff changeset
    19
------------
1334
9bf0d5a1f0cf Include common header with quick links.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    20
9bf0d5a1f0cf Include common header with quick links.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    21
ImageMagick - is a free software suite for the creation, modification and
9bf0d5a1f0cf Include common header with quick links.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    22
display of bitmap images.
9bf0d5a1f0cf Include common header with quick links.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    23
9bf0d5a1f0cf Include common header with quick links.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    24
gthumb.
1579
70096c1070db Join icons to sprite.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1346
diff changeset
    25
-------
1334
9bf0d5a1f0cf Include common header with quick links.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    26
9bf0d5a1f0cf Include common header with quick links.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    27
gThumb is an advanced image viewer and browser. It has many useful features,
9bf0d5a1f0cf Include common header with quick links.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    28
such as filesystem browsing, slide show, image catalogs, web album creation,
9bf0d5a1f0cf Include common header with quick links.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    29
camera import, image CD burning, batch file operations and quick image editing
9bf0d5a1f0cf Include common header with quick links.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    30
features like transformation and color manipulation.
9bf0d5a1f0cf Include common header with quick links.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    31
1731
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1676
diff changeset
    32
qiv.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1676
diff changeset
    33
----
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1676
diff changeset
    34
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1676
diff changeset
    35
Quick image viewer for X.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1676
diff changeset
    36
1334
9bf0d5a1f0cf Include common header with quick links.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    37
Free art.
9bf0d5a1f0cf Include common header with quick links.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    38
=========
9bf0d5a1f0cf Include common header with quick links.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    39
9bf0d5a1f0cf Include common header with quick links.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    40
  http://openclipart.org/
9bf0d5a1f0cf Include common header with quick links.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    41
                home page
1579
70096c1070db Join icons to sprite.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1346
diff changeset
    42
70096c1070db Join icons to sprite.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1346
diff changeset
    43
Join icons to sprite.
70096c1070db Join icons to sprite.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1346
diff changeset
    44
=====================
70096c1070db Join icons to sprite.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1346
diff changeset
    45
70096c1070db Join icons to sprite.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1346
diff changeset
    46
Make one liner::
70096c1070db Join icons to sprite.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1346
diff changeset
    47
70096c1070db Join icons to sprite.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1346
diff changeset
    48
  $ convert *.png -append sprites.png  # vertically
70096c1070db Join icons to sprite.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1346
diff changeset
    49
  $ convert *.png +append sprites.png  # horizontally
70096c1070db Join icons to sprite.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1346
diff changeset
    50
1676
cb6a89ad2210 Make box with signs.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1634
diff changeset
    51
Make box (with auto size)::
cb6a89ad2210 Make box with signs.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1634
diff changeset
    52
cb6a89ad2210 Make box with signs.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1634
diff changeset
    53
  $ montage -background transparent --geometry 16x16  *.png sprites.png
cb6a89ad2210 Make box with signs.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1634
diff changeset
    54
cb6a89ad2210 Make box with signs.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1634
diff changeset
    55
Make box with signs::
cb6a89ad2210 Make box with signs.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1634
diff changeset
    56
cb6a89ad2210 Make box with signs.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1634
diff changeset
    57
  $ montage -font Bitstream-Vera-Sans-Mono -pointsize 8 -set label '%f\n%wx%h' \
cb6a89ad2210 Make box with signs.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1634
diff changeset
    58
            -background white --geometry 16x16  *.png sprites.png
1579
70096c1070db Join icons to sprite.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1346
diff changeset
    59
1676
cb6a89ad2210 Make box with signs.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1634
diff changeset
    60
To get list of available font names::
cb6a89ad2210 Make box with signs.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1634
diff changeset
    61
cb6a89ad2210 Make box with signs.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1634
diff changeset
    62
  $ identify -list font
cb6a89ad2210 Make box with signs.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1634
diff changeset
    63
cb6a89ad2210 Make box with signs.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1634
diff changeset
    64
Make box with selected width or height::
cb6a89ad2210 Make box with signs.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1634
diff changeset
    65
cb6a89ad2210 Make box with signs.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1634
diff changeset
    66
  $ montage -tile 2x *.png sprites.png
cb6a89ad2210 Make box with signs.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1634
diff changeset
    67
  $ montage -tile x3 *.png sprites.png
cb6a89ad2210 Make box with signs.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1634
diff changeset
    68
  $ montage -tile 3x4 *.png sprites.png
1579
70096c1070db Join icons to sprite.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1346
diff changeset
    69
1634
8441d60c3a7a Remove EXIF data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1588
diff changeset
    70
Remove EXIF data.
8441d60c3a7a Remove EXIF data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1588
diff changeset
    71
=================
8441d60c3a7a Remove EXIF data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1588
diff changeset
    72
::
8441d60c3a7a Remove EXIF data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1588
diff changeset
    73
8441d60c3a7a Remove EXIF data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1588
diff changeset
    74
  $ sudo apt-get install libimage-exiftool-perl
8441d60c3a7a Remove EXIF data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1588
diff changeset
    75
  $ exiftool -all= *.jpg
8441d60c3a7a Remove EXIF data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1588
diff changeset
    76
8441d60c3a7a Remove EXIF data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1588
diff changeset
    77
  $ sudo apt-get install exiv2
8441d60c3a7a Remove EXIF data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1588
diff changeset
    78
  $ exiv2 rm *.jpg
8441d60c3a7a Remove EXIF data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1588
diff changeset
    79
8441d60c3a7a Remove EXIF data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1588
diff changeset
    80
  $ sudo apt-get install imagemagic
8441d60c3a7a Remove EXIF data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1588
diff changeset
    81
  $ convert -strip FROM.jpg TO.jpg
8441d60c3a7a Remove EXIF data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1588
diff changeset
    82
  $ mogrify -strip PIC.jpg
8441d60c3a7a Remove EXIF data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1588
diff changeset
    83