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

Several ImageMagick related bug fixes #972

Merged
merged 4 commits into from
Oct 1, 2019
Merged

Conversation

KiLLAAA
Copy link
Contributor

@KiLLAAA KiLLAAA commented Jun 15, 2019

  • If this is a bugfix, I have provided code that clearly demonstrates the problem and that works when used with this PR
  • I have added a test to the test suite, if necessary
  • I have properly documented new or changed features in the documention, or the docstrings
  • I have properly documented unusual changes to the code in the comments around it
  • I have made note of any breaking/backwards incompatible changes

Fuzz option "does nothing" to output file due to wrong order of params passsed to ImageMagick, these changes fix this issue.
Fixes Zulko#113

Fixes bug when exporting to gif using ImageMagick with no "opt" parameter specified ie `opt=OptimizePlus` does not produce output file while still stating that [MoviePy] >>>> File /.../test.gif is ready!

test snippet:
`
from moviepy.editor import *

clip = (VideoFileClip(infile, audio=False))
clip.write_gif('test.gif', program= 'ImageMagick', fuzz=40)
`
write_gif() using ImageMagick bugfix
@tburrows13
Copy link
Collaborator

This looks good to me. Let us know if there are any issues.

@tburrows13 tburrows13 merged commit 4428ed0 into Zulko:master Oct 1, 2019
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.

2 participants