General library used by selector and generator. It handles images,
progress bars and configuration file.
|
ModelProcessSelected
Implemantation MVC de la procedure ProcessSelected
|
|
ModelCopySelected
Implemantation MVC de la procedure CopySelected
|
|
ModelRangeTout
Implemantation MVC de la procedure RangeTout moves all the JPEG
files to a directory named from their day and with the name
according to the time
|
|
Controler
Implémentation du contrôleur de la vue utilisant la console
|
|
ControlerX
Implémentation du contrôleur.
|
|
View
Implémentation de la vue.
|
|
ViewX
Implementation of the view as a splashscren
|
|
photo
class photo that does all the operations available on photos
|
|
signature
|
|
parser
this class searches all the jpeg files
|
|
RangeTout(repository)
moves all the JPEG files to a directory named from their day and with
the name according to the time This is a MVC implementation |
source code
|
|
|
ProcessSelected(SelectedFiles)
This procedure uses the MVC implementation of processSelected It
makes a copy of all selected photos and scales them copy all the
selected files to "selected" subdirectory, 20 per page |
source code
|
|
|
CopySelected(SelectedFiles)
This procedure makes a copy of all selected photos and scales them
copy all the selected files to "selected" subdirectory |
source code
|
|
|
makedir(filen)
creates the tree structure for the file |
source code
|
|
|
mkdir(filename)
create an empty directory with the given rights |
source code
|
|
|
FindFile(RootDir)
returns a list of the files with the given suffix in the given dir
files=os.system('find "%s" -iname
"*.%s"'%(RootDir,suffix)).readlines() |
source code
|
|
|
ScaleImage(filename,
filigrane=None)
common processing for one image : create a subfolder
"scaled" and "thumb" : |
source code
|
|
|
latin1_to_ascii(unicrap)
This takes a UNICODE string and replaces Latin-1 characters with
something equivalent in 7-bit ASCII. |
source code
|
|
|
SmartSize(size)
print the size of files in a pretty way |
source code
|
|
|
|