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

Move image processing to ImageMagick (Wand). #270

Merged
merged 5 commits into from
Jun 30, 2016
Merged

Conversation

docapotamus
Copy link
Member

There is still much more work to do on this PR.

We need to add a JS library of some form to allow you to start playing
the animated GIFs as I don't want them to be playing on the screen
constantly.

This is related to issue #241.

There is still much more work to do on this PR.

We need to add a JS library of some form to allow you to start playing
the animated GIFs as I don't want them to be playing on the screen
constantly.

This is related to issue #241.
@docapotamus
Copy link
Member Author

@mcrmonkey comments?

I also re-enabled the debugger instead of error pages. I don't know why
I left it in during the first commit. This also needs fixing.
@codecov-io
Copy link

codecov-io commented Jun 22, 2016

Current coverage is 100%

Merging #270 into master will not change coverage

@@           master   #270   diff @@
====================================
  Files          32     32          
  Lines        1804   1826    +22   
  Methods         0      0          
  Messages        0      0          
  Branches      284    288     +4   
====================================
+ Hits         1804   1826    +22   
  Misses          0      0          
  Partials        0      0          

Powered by Codecov. Last updated by fda9d0b...bcf5cbb

@mcrmonkey
Copy link
Member

not tested it myself but the code appears sane on the surface. thought it would be a bigger rewrite too.
the image rotation stuff looks more slimmed down too.

@docapotamus
Copy link
Member Author

If you could get it up and running and try and break it that would be handy. It's also shrunk the Debian dependencies to 1.

I've updated the docs and what not in the README so it can be build and the Dockerfile.

Now cycle through each image of an animated GIF and re-sizes it adding
it to a temporary image. The main image is then swapped for this
temporary image.
Animated GIFs will not be loaded unless you press the `GIF` button.

jQuery GIF player is being used to switch between the PNG preview and
the actual animated GIF.

Tests have been tweaked and every where the `process_upload` is. This
now returned 2 arguments filename and animated_filename.

The templated now also add a `gif` class to an image if it is an
animated gif.
@docapotamus docapotamus merged commit 05a2b05 into master Jun 30, 2016
@docapotamus docapotamus deleted the add-animated-gifs branch July 23, 2016 14:30
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.

None yet

3 participants