-
Notifications
You must be signed in to change notification settings - Fork 75
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Size of watermark (Vips) #110
Comments
Active Storage doesn't support dynamic processing, you have to encode everything at the time you're generating the link. It would be great if Active Storage supported registering custom operations, similar to what Shrine does. Some block that would yield an I know I'm replying late, but what would the composition look like performed directly on |
I have the following:
How would I change the width of the overlay? I notice regardless of what size the image is it always appears to be the same size on the watermark.
Based on the docs it seems like something like this
Vips::Image.new_from_file('app/assets/images/watermark.png')
would work but that raises an exception.Thanks
Edit: Nevermind on "same size", it would appear that is ActiveStorage caching/hashing arguments. Still it would be really nice to dynamically size it
The text was updated successfully, but these errors were encountered: