Esto es lo que contiene mi archivo .phatch que uso con el PhotoBatch 馃榾
{‘actions’: [{‘fields’: {‘Canvas Height’: u’50 %’,
‘Canvas Width’: u’50聽 %’,
‘Constrain Proportions’: ‘yes’,
‘Resample Image’: ‘automatic’,
‘Resolution’: u'<dpi>’,
‘Scale Down Only’: ‘no’,
‘__enabled__’: ‘yes’},
‘label’: ‘Scale’},
{‘fields’: {‘Background Color’: ‘#FFFFFF’,
‘Border’: ‘4%’,
‘Force Background Color’: ‘yes’,
‘Horizontal Offset’: u’2 %’,
‘Shadow Blur’: u’3′,
‘Shadow Color’: ‘#444444’,
‘Vertical Offset’: ‘2%’,
‘__enabled__’: ‘yes’},
‘label’: ‘Shadow’},
{‘fields’: {‘Color’: u’#4d4d4d’,
‘Font’: u’/usr/share/fonts/truetype/ttf-larabie-straight/forgottr.ttf’,
‘Horizontal Justification’: ‘Left’,
‘Horizontal Offset’: u’6 %’,
‘Offset’: u’6 %’,
‘Orientation’: u’Normal’,
‘Position’: u’Bottom Left’,
‘Size’: u’2.5 %’,
‘Text’: u’hbautista’,
‘Vertical Justification’: ‘Bottom’,
‘Vertical Offset’: u’-6 %’,
‘__enabled__’: ‘yes’},
‘label’: ‘Text’},
{‘fields’: {‘As’: u'<type>’,
‘File Name’: u'<filename>’,
‘In’: u'<folder>/phatch/<subfolder>’,
‘JPEG Quality’: u’85’,
‘JPEG Size Maximum’: ‘0kb’,
‘JPEG Size Tolerance’: ‘5%’,
‘Metadata’: ‘yes’,
‘PNG Optimize’: ‘no’,
‘Resolution’: u'<dpi>’,
‘Show Type Options’: u’yes’,
‘TIFF Compression’: u'<compression>’,
‘__enabled__’: ‘yes’},
‘label’: ‘Save’}],
‘description’: 禄,
‘version’: ‘0.2.1’}
Y ejecutando sobre un archivo o directorio obtenemos cosas como estas 馃檪
Bueno, que tengan un bonito d铆a 馃檪