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

CreateDerivatives and mini_magic #21

Open
ghost opened this issue Sep 19, 2017 · 2 comments
Open

CreateDerivatives and mini_magic #21

ghost opened this issue Sep 19, 2017 · 2 comments

Comments

@ghost
Copy link

ghost commented Sep 19, 2017

CreateDerivatives is really slow. I'm also seeing LOADS of mini_magick* and magick* temp files in /tmp. Uploading 17 PDFs took ages.

@ghost
Copy link
Author

ghost commented Sep 19, 2017

Tried this mini_magick config in `config\initializers\mini_magick.rb

config.cli = :imagemagick
config.timeout = 5 # oops five seconds!

was posix_spawn

See https://github.com/minimagick/minimagick

but not sure that made any difference

an alternative is VIPS (as per posts by jrochkind).

@ghost
Copy link
Author

ghost commented Mar 15, 2018

Fixed locally, consider moving to here.

Fix was to bypass minimagick for PDFs and just use imagemagick. VIPS would be even quicker but is not a standard Centos package.

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

0 participants