-
Notifications
You must be signed in to change notification settings - Fork 107
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
automated screenshots with phantomjs and image magick #269
Conversation
Great! Will test this now. Do you see any chance of making |
For future pull requests (which I hope you'll be submitting plenty of), please work an explicit feature-branch. |
@@ -0,0 +1,5 @@ | |||
exampleUrl = $1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Better: exampleUrl=$1
No spaces around =
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK
This is very nice, thanks a ton @hutzelknecht. Some remarks.
These are a lot of comments, I know. If you are able to address some of these I'd be very happy. If not, We can fix this in a follow-up pull request. Just tell me whether you agree and whether you have time for this. To sum it up: Awesome work, @hutzelknecht! This will (in one way or the other) be merged once I have your feedback. |
Will fix the remaining remarks tonight. |
with a0b7492 everything should be fixed. @marcjansen could you please see if it still works on your machine? |
I will test this. But this has to wait until after Easter. I'll mostly be offline until next Tuesday. |
phantomjs "$SCRIPTDIR/screenshots.js" $exampleUrl $SCRIPTDIR | ||
|
||
# resize screenshots - requires imagemagick | ||
for THUMB in $(find "$SCRIPTDIR/examples" | grep thumb.png) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This won't work. I'll create a follow up PR to adress this.
I added only one comment, which I'll address in a follow-up PR. Thanks! |
automated screenshots with phantomjs and image magick
the screenshots can be taken by the following command
~$ . screenshots.sh http://geoext.github.io/geoext2/examples/
dependencies are phantomjs and imagemagick. The Script has been tested on an Ubuntu 13.04 machine.