image.rst
author Oleksandr Gavenko <gavenkoa@gmail.com>
Mon, 22 Feb 2016 12:41:52 +0200
changeset 1903 901e7394849f
parent 1731 e7892a2f6ba9
child 1905 fba288d59662
permissions -rw-r--r--
Decrease intent to increase space usage on mobile.
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::
1334
9bf0d5a1f0cf Include common header with quick links.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     8
1579
70096c1070db Join icons to sprite.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1346
diff changeset
     9
Viewers.
70096c1070db Join icons to sprite.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1346
diff changeset
    10
========
70096c1070db Join icons to sprite.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1346
diff changeset
    11
1334
9bf0d5a1f0cf Include common header with quick links.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    12
GraphicsMagick.
1579
70096c1070db Join icons to sprite.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1346
diff changeset
    13
---------------
1334
9bf0d5a1f0cf Include common header with quick links.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    14
9bf0d5a1f0cf Include common header with quick links.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    15
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
    16
9bf0d5a1f0cf Include common header with quick links.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    17
ImageMagick.
1579
70096c1070db Join icons to sprite.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1346
diff changeset
    18
------------
1334
9bf0d5a1f0cf Include common header with quick links.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    19
9bf0d5a1f0cf Include common header with quick links.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    20
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
    21
display of bitmap images.
9bf0d5a1f0cf Include common header with quick links.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    22
9bf0d5a1f0cf Include common header with quick links.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    23
gthumb.
1579
70096c1070db Join icons to sprite.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1346
diff changeset
    24
-------
1334
9bf0d5a1f0cf Include common header with quick links.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    25
9bf0d5a1f0cf Include common header with quick links.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    26
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
    27
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
    28
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
    29
features like transformation and color manipulation.
9bf0d5a1f0cf Include common header with quick links.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    30
1731
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1676
diff changeset
    31
qiv.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1676
diff changeset
    32
----
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1676
diff changeset
    33
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1676
diff changeset
    34
Quick image viewer for X.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1676
diff changeset
    35
1334
9bf0d5a1f0cf Include common header with quick links.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    36
Free art.
9bf0d5a1f0cf Include common header with quick links.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    37
=========
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
  http://openclipart.org/
9bf0d5a1f0cf Include common header with quick links.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    40
                home page
1579
70096c1070db Join icons to sprite.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1346
diff changeset
    41
70096c1070db Join icons to sprite.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1346
diff changeset
    42
Join icons to sprite.
70096c1070db Join icons to sprite.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1346
diff changeset
    43
=====================
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
Make one liner::
70096c1070db Join icons to sprite.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1346
diff changeset
    46
70096c1070db Join icons to sprite.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1346
diff changeset
    47
  $ convert *.png -append sprites.png  # vertically
70096c1070db Join icons to sprite.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1346
diff changeset
    48
  $ convert *.png +append sprites.png  # horizontally
70096c1070db Join icons to sprite.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1346
diff changeset
    49
1676
cb6a89ad2210 Make box with signs.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1634
diff changeset
    50
Make box (with auto size)::
cb6a89ad2210 Make box with signs.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1634
diff changeset
    51
cb6a89ad2210 Make box with signs.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1634
diff changeset
    52
  $ montage -background transparent --geometry 16x16  *.png sprites.png
cb6a89ad2210 Make box with signs.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1634
diff changeset
    53
cb6a89ad2210 Make box with signs.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1634
diff changeset
    54
Make box with signs::
cb6a89ad2210 Make box with signs.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1634
diff changeset
    55
cb6a89ad2210 Make box with signs.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1634
diff changeset
    56
  $ 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
    57
            -background white --geometry 16x16  *.png sprites.png
1579
70096c1070db Join icons to sprite.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1346
diff changeset
    58
1676
cb6a89ad2210 Make box with signs.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1634
diff changeset
    59
To get list of available font names::
cb6a89ad2210 Make box with signs.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1634
diff changeset
    60
cb6a89ad2210 Make box with signs.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1634
diff changeset
    61
  $ identify -list font
cb6a89ad2210 Make box with signs.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1634
diff changeset
    62
cb6a89ad2210 Make box with signs.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1634
diff changeset
    63
Make box with selected width or height::
cb6a89ad2210 Make box with signs.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1634
diff changeset
    64
cb6a89ad2210 Make box with signs.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1634
diff changeset
    65
  $ montage -tile 2x *.png sprites.png
cb6a89ad2210 Make box with signs.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1634
diff changeset
    66
  $ montage -tile x3 *.png sprites.png
cb6a89ad2210 Make box with signs.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1634
diff changeset
    67
  $ montage -tile 3x4 *.png sprites.png
1579
70096c1070db Join icons to sprite.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1346
diff changeset
    68
1634
8441d60c3a7a Remove EXIF data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1588
diff changeset
    69
Remove EXIF data.
8441d60c3a7a Remove EXIF data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1588
diff changeset
    70
=================
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
  $ sudo apt-get install libimage-exiftool-perl
8441d60c3a7a Remove EXIF data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1588
diff changeset
    74
  $ exiftool -all= *.jpg
8441d60c3a7a Remove EXIF data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1588
diff changeset
    75
8441d60c3a7a Remove EXIF data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1588
diff changeset
    76
  $ sudo apt-get install exiv2
8441d60c3a7a Remove EXIF data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1588
diff changeset
    77
  $ exiv2 rm *.jpg
8441d60c3a7a Remove EXIF data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1588
diff changeset
    78
8441d60c3a7a Remove EXIF data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1588
diff changeset
    79
  $ sudo apt-get install imagemagic
8441d60c3a7a Remove EXIF data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1588
diff changeset
    80
  $ convert -strip FROM.jpg TO.jpg
8441d60c3a7a Remove EXIF data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1588
diff changeset
    81
  $ mogrify -strip PIC.jpg
8441d60c3a7a Remove EXIF data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1588
diff changeset
    82