Issue #3 new, line:187: expected int but received float

Shawn Frame
created an issue

Hi, thanks for this template tag. I am finding it immediately useful.

One issue I came across is adding rotation=45 caused PIL to complain about receiving a float instead of an int.

I was that issue by converting new_w and new_h on lines 184 & 185 to integers.

Thanks again for sharing django-watermark.

Comments (0)

  1. Log in to comment