ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Alexander Yereshenko <ave4600@mail.ru>
To: ALT Linux Community <community@lists.altlinux.org>
Subject: Re: [Comm] Массовый convert графических файлов
Date: Sun, 24 Jun 2007 22:17:59 +0300
Message-ID: <200706242218.00151.ave4600@mail.ru> (raw)
In-Reply-To: <200705151337.38509.ave@zetetika.com.ua>

Доброе!
В сообщении от Tuesday 15 May 2007 13:37:38 Alexander Yereschenko написал(а):
>
> Тоже оценил мощность консольных утилит из ImageMagic...
> Попутно еще вопрос: Есть возможность одним махом повернуть изображениев
> нужную сторону  в зависимости от тэга в jpeg-файле "Exif:Orientation" ? Или
> все-таки придется скриптом анализировать тэг и потом поворачивать в нужную
> сторону?
>

Отвечаю сам себе :)
Утилита jhead

jhead -autorot <filename>

Using the 'Orientation' tag of the Exif header, rotate the image so that it is 
upright. The program jpegtran  is used to perform the rotation. This program 
is present in most Linux distributions. For windows, you need to get a copy 
of it. After rotation, the orientation tag of the Exif header is set to '1' 
(normal orientation). The thumbnail is also rotated. Other fields of the Exif 
header, including dimensions are untouched, but the JPEG height/width are 
adjusted. This feature is especially useful with newer Canon cameras, that 
set the orientation tag automatically using a gravity sensor.

--
Alexander

      parent reply	other threads:[~2007-06-24 19:17 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-15  8:22 Motsyo Gennadi aka Drool
2007-05-15  8:28 ` Pavlov Konstantin
2007-05-15 10:37   ` Alexander Yereschenko
2007-05-15 16:06     ` Andrey Rahmatullin
2007-05-15 16:39       ` Alexander Yereshenko
2007-05-15 19:34         ` Andrey Rahmatullin
2007-05-30 22:32       ` Sergey Kurakin
2007-05-30 22:50     ` Sergey Kurakin
2007-06-24 19:17     ` Alexander Yereshenko [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200706242218.00151.ave4600@mail.ru \
    --to=ave4600@mail.ru \
    --cc=community@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git