mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-10-30 10:50:08 +00:00
minor changes...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
f89e53da2a
commit
9ecbb1b7ca
@ -1,7 +1,7 @@
|
|||||||
#=======================================================================
|
#=======================================================================
|
||||||
|
|
||||||
__version__ = '''0.0.01'''
|
__version__ = '''0.0.01'''
|
||||||
__sub_version__ = '''20120303021628'''
|
__sub_version__ = '''20120309173155'''
|
||||||
__copyright__ = '''(c) Alex A. Naanou 2011'''
|
__copyright__ = '''(c) Alex A. Naanou 2011'''
|
||||||
|
|
||||||
|
|
||||||
@ -101,7 +101,7 @@ def image_gid(path, format='%(artist)s-%(date)s-%(name)s', date_format='%Y%m%d-%
|
|||||||
<artist>-<datetime>-<filename>
|
<artist>-<datetime>-<filename>
|
||||||
|
|
||||||
Example:
|
Example:
|
||||||
20110627-195706-DSC_1234
|
Alex_A.Naanou-20110627-195706-DSC_1234
|
||||||
|
|
||||||
Supported fields:
|
Supported fields:
|
||||||
%(artist)s - Exif.Image.Artist field, stripped and spaces replaced with underscores.
|
%(artist)s - Exif.Image.Artist field, stripped and spaces replaced with underscores.
|
||||||
@ -111,6 +111,7 @@ def image_gid(path, format='%(artist)s-%(date)s-%(name)s', date_format='%Y%m%d-%
|
|||||||
NOTE: date and time are the date and time the image was made ('Exif.Image.DateTime')
|
NOTE: date and time are the date and time the image was made ('Exif.Image.DateTime')
|
||||||
NOTE: need EXIF data to generate a GID
|
NOTE: need EXIF data to generate a GID
|
||||||
'''
|
'''
|
||||||
|
# get the filename...
|
||||||
data = {
|
data = {
|
||||||
'name': os.path.splitext(os.path.split(path)[-1])[0],
|
'name': os.path.splitext(os.path.split(path)[-1])[0],
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user