ternary operator, nice try, but it has same speed as `"Image Stack" + "-set"`
OK, I accept this result.
Now I believe the reason b version spend few time just because it deals few pixels.
nothing wrong inside IM.
I find xnconvert faster than IM though.
Search found 2 matches
- 2017-10-16T10:35:21-07:00
- Forum: Users
- Topic: Proportional watermark
- Replies: 21
- Views: 23133
- 2017-10-16T06:03:07-07:00
- Forum: Users
- Topic: Proportional watermark
- Replies: 21
- Views: 23133
Re: Proportional watermark
A version: magick input.png ( watermark.png -resize x%[fx:u[0].h/5] ) -gravity center -composite result.png this is wrong, but it is faster than b version. B version: magick input.png -set option:wmh "%[fx:h/5]" ( watermark.png -resize x%[wmh] ) -gravity center -composite result.png now I want to ...