Skip to content

Add gravity and rate offset option for watermark image#256

Open
tsu1980 wants to merge 3 commits intoh2non:masterfrom
tsu1980:add-watermark-gravity
Open

Add gravity and rate offset option for watermark image#256
tsu1980 wants to merge 3 commits intoh2non:masterfrom
tsu1980:add-watermark-gravity

Conversation

@tsu1980
Copy link

@tsu1980 tsu1980 commented Oct 3, 2018

This PR improve watermark image options. gravity and rate offset.

Why not reuse Gravity type?

Because of backward compatibility. Current WatermarkImage option's default is NorthWest and Gravity type's default is Centre, so I decided to make the new type for this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant