Skip to content

Commit

Permalink
Updated evaluate_images doc example
Browse files Browse the repository at this point in the history
  • Loading branch information
emcconville committed Feb 11, 2024
1 parent 4b58178 commit ae258eb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions wand/image.py
Original file line number Diff line number Diff line change
Expand Up @@ -4878,8 +4878,8 @@ def evaluate_images(self, operator=None):
with Image() as img:
img.read(filename='first.png')
img.read(filename='second.png')
first.evaluate_images('add')
first.save(filename='sum.png')
with img.evaluate_images('add') as sum:
sum.save(filename='sum.png')
:param operator: Type of operation to calculate.
:type operator: :const:`EVALUATE_OPS`
Expand Down

0 comments on commit ae258eb

Please sign in to comment.