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

Remedy errant spacing in ImageMagic compose cmd building. #47

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

kylev
Copy link

@kylev kylev commented Mar 22, 2014

CoffeeScript trims leading/trailing spaces from multi-line strings,
so we ended up with filenames and flags occasionally jammed against the
geometry portion.

CoffeeScript trims leading/trailing spaces from multi-line strings,
so we ended up with filenames and flags occasionally jammed against the
geometry portion.
@kylev
Copy link
Author

kylev commented Mar 22, 2014

0.4.2 is essentially non-functional right now. It builds commands like this:

composite -geometry 428x60+0+0sprite/nytimes_hover_2x.png build/sprites.png build/sprites.png.tmp && mv build/sprites.png.tmp build/sprites.png

Note: there should be a space after the 428x60+0+0 and before sprite/nytimes_hover_2x.png.

@kylev
Copy link
Author

kylev commented Jun 23, 2016

Looking back through old PRs... Looks like this bug still happens if you enable downsampling. It'll build an invalid (crashing) command line.

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

1 participant