Total Commander Forum Index Total Commander
Форум поддержки пользователей Total Commander
Сайты: Все о Total Commander | Totalcmd.net | Ghisler.com | RU.TCKB
 
 RulesRules   SearchSearch   FAQFAQ   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

EXIF: Авто-поворот

 
Post new topic   Reply to topic    Total Commander Forum Index -> Написание плагинов для Total Commander printer-friendly view
View previous topic :: View next topic  
Author Message
Alextp



Joined: 06 Feb 2005
Posts: 4957

Post (Separately) Posted: Wed Oct 19, 2011 20:04    Post subject: EXIF: Авто-поворот Reply with quote

Какое поле EXIF отвечает за JPG Auto-Rotate? Какое значение означает поворот 90, -90, 180?
_________________
UniViewer - CudaText - LogViewer
Back to top
View user's profile Send private message
Rodny



Joined: 24 Jan 2007
Posts: 949
Location: Могилёв, Беларусь

Post (Separately) Posted: Wed Oct 19, 2011 20:50    Post subject: Reply with quote

AFAIK, нет такого, это программы могут поворачивать в зависимости от значений ориентации.
EXIF 2.2 Specifications, стр.24
Back to top
View user's profile Send private message
Alextp



Joined: 06 Feb 2005
Posts: 4957

Post (Separately) Posted: Wed Oct 19, 2011 20:56    Post subject: Reply with quote

1 = The 0th row is at the visual top of the image, and the 0th column is the visual left-hand side.
2 = The 0th row is at the visual top of the image, and the 0th column is the visual right-hand side.
3 = The 0th row is at the visual bottom of the image, and the 0th column is the visual right-hand side.

как это понимать? Какой поворот надо делать при 0, 1,2...?
_________________
UniViewer - CudaText - LogViewer
Back to top
View user's profile Send private message
Rodny



Joined: 24 Jan 2007
Posts: 949
Location: Могилёв, Беларусь

Post (Separately) Posted: Wed Oct 19, 2011 21:31    Post subject: Reply with quote

Верхний левый угол - (0,0). Тогда получается так:
1 - ничего не делать: остаются 0-я строка вверху, 0-й столбец слева
2 - зеркально отражать слева-направо
3 - поворот на 180
4 - поворот на 180 + отражение слева-направо
5 - 90 против часовой + отражение сверху-вниз
6 - 90 по часовой
7 - 90 по часовой + отражение сверху-вниз
8 - 90 против часовой
Back to top
View user's profile Send private message
Alextp



Joined: 06 Feb 2005
Posts: 4957

Post (Separately) Posted: Wed Oct 19, 2011 22:03    Post subject: Reply with quote

Спасибо. Smile

Добавлено спустя 5 минут:

>4 - поворот на 180 + отражение слева-направо
Это не отраж. сверху-вниз?
_________________
UniViewer - CudaText - LogViewer
Back to top
View user's profile Send private message
Rodny



Joined: 24 Jan 2007
Posts: 949
Location: Могилёв, Беларусь

Post (Separately) Posted: Wed Oct 19, 2011 22:22    Post subject: Reply with quote

Alextp wrote:
Это не отраж. сверху-вниз?

А, ну да, это у меня уже пространственная мышление от кручения головой сбилось Smile
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Total Commander Forum Index -> Написание плагинов для Total Commander All times are GMT + 4 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group