Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: imageConversion.py

Issue 6099042538881024: Wait until images are loaded (Closed)
Patch Set: Created Nov. 16, 2013, 2 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: imageConversion.py
===================================================================
--- a/imageConversion.py
+++ b/imageConversion.py
@@ -117,6 +117,7 @@
baseDir = os.path.dirname(metadata.option_source('convert_img', filename))
steps = re.split(r'\s*->\s*', chain)
image = Image.open(os.path.join(baseDir, *steps.pop(0).split('/')))
+ image.load()
for step in steps:
filter, args = re.match(r'([^(]+)(?:\((.*)\))?', step).groups()
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld