Skip to content
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

Is there support for multiple processors? #8

Closed
ghost opened this issue Aug 25, 2015 · 2 comments
Closed

Is there support for multiple processors? #8

ghost opened this issue Aug 25, 2015 · 2 comments

Comments

@ghost
Copy link

ghost commented Aug 25, 2015

I love how the minimagick lib works, but one other thing I would maybe like to do is process the image through ImageOptim for example... but it seems I would have to fork the minimagick lib to do that?

Also, is there a way to control the compression of an uploaded jpg for example?

@jnicklas
Copy link
Contributor

You don't have to fork it, you can simply call the Refile::MiniMagick methods from your own processor.

@ohenrik
Copy link

ohenrik commented May 20, 2016

@jnicklas could you give an example on how to do this? By that i mean how do i add a process by default when i call the helper like so: <%= attachment_url(@cover, :thumbnail, :fill, 1920, 1080) %>

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

No branches or pull requests

2 participants