Skip to content

Commit

Permalink
Update aspect ratio flag
Browse files Browse the repository at this point in the history
  • Loading branch information
jasmcaus committed Nov 17, 2020
1 parent 35c2681 commit fa0aabb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ $ pip install caer
>> sunrise = caer.data.sunrise(rgb=True)

# Resize the image to 500x500 while MAINTAINING aspect ratio
>> resized = caer.resize(sunrise, target_size=(500,500))
>> resized = caer.resize(sunrise, target_size=(500,500), keep_aspect_ratio=True)
```

For more examples, see the [Caer demos](demos).
Expand Down

0 comments on commit fa0aabb

Please sign in to comment.