|
|
__init__(self,
filename)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature |
source code
|
|
|
|
|
|
|
|
|
|
taille(self)
width and height of a jpeg file |
source code
|
|
|
|
SaveThumb(self,
strThumbFile,
Size=160,
Interpolation=1,
Quality=75,
Progressive=False,
Optimize=False,
ExifExtraction=False)
save a thumbnail of the given name, with the given size and the
interpolation methode (quality) resampling filters : NONE = 0 NEAREST
= 0 ANTIALIAS = 1 # 3-lobed lanczos LINEAR = BILINEAR = 2 CUBIC =
BICUBIC = 3 |
source code
|
|
|
|
Rotate(self,
angle=0)
does a looseless rotation of the given jpeg file |
source code
|
|
|
|
|
|
|
Trash(self)
Send the file to the trash folder |
source code
|
|
|
|
readExif(self)
return exif data + title from the photo |
source code
|
|
|
|
has_title(self)
return true if the image is entitled |
source code
|
|
|
|
show(self,
Xsize=600,
Ysize=600)
return a pixbuf to shows the image in a Gtk window |
source code
|
|
|
|
name(self,
titre)
write the title of the photo inside the description field, in the
JPEG header |
source code
|
|
|
|
renameFile(self,
newname)
rename the current instance of photo: -Move the file -update the
cache -change the name and other attributes of the instance -change
the exif metadata. |
source code
|
|
|
|
|
|
|
autorotate(self)
does autorotate the image according to the EXIF tag |
source code
|
|
|
|
ContrastMask(self,
outfile)
Ceci est un filtre de debouchage de photographies, aussi appelé
masque de contraste, il permet de rattrapper une photo trop
contrasté, un contre jour, ... |
source code
|
|
|
Inherited from object:
__delattr__,
__format__,
__getattribute__,
__hash__,
__new__,
__reduce__,
__reduce_ex__,
__repr__,
__setattr__,
__sizeof__,
__str__,
__subclasshook__
|