Package ATContentTypes :: Package lib :: Module imagetransform
[show private | hide private]
[frames | no frames]

Module ATContentTypes.lib.imagetransform

Image transformation code

The basics for the EXIF information, orientation code and the rotation code
were taken from CMFPhoto.

Classes
ATCTImageTransform Base class for images containing transformation and exif functions...

Variable Summary
str __author__ = 'Christian Heimes <ch@comlounge.net>'
dict AUTO_ROTATE_MAP = {0: None, 90: 4, 180: 3, 270: 2}
int FLIP_LEFT_RIGHT = 0                                                                     
int FLIP_TOP_BOTTOM = 1                                                                     
Logger LOG = <logging.Logger instance at 0xb6db668c>
int ROTATE_180 = 3                                                                     
int ROTATE_270 = 4                                                                     
int ROTATE_90 = 2                                                                     
dict TRANSPOSE_MAP = {0: 'Flip around vertical axis', 1: 'Fli...

Variable Details

__author__

Type:
str
Value:
'Christian Heimes <ch@comlounge.net>'                                  

AUTO_ROTATE_MAP

Type:
dict
Value:
{0: None, 90: 4, 180: 3, 270: 2}                                       

FLIP_LEFT_RIGHT

Type:
int
Value:
0                                                                     

FLIP_TOP_BOTTOM

Type:
int
Value:
1                                                                     

LOG

Type:
Logger
Value:
<logging.Logger instance at 0xb6db668c>                                

ROTATE_180

Type:
int
Value:
3                                                                     

ROTATE_270

Type:
int
Value:
4                                                                     

ROTATE_90

Type:
int
Value:
2                                                                     

TRANSPOSE_MAP

Type:
dict
Value:
{0: 'Flip around vertical axis',
 1: 'Flip around horizontal axis',
 2: 'Rotate 90 counterclockwise',
 3: 'Rotate 180',
 4: 'Rotate 90 clockwise'}                                             

Generated by Epydoc 2.1 on Wed Nov 30 04:00:07 2005 http://epydoc.sf.net