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

Export graph to image file #50

Closed
easwee opened this issue May 25, 2015 · 4 comments
Closed

Export graph to image file #50

easwee opened this issue May 25, 2015 · 4 comments
Assignees
Milestone

Comments

@easwee
Copy link

easwee commented May 25, 2015

A good feature could be to add a command to export commit graph into an image file (jpeg/png) for easy sharing.

Something like "git-stats -exporttoimage" - you name it.

@IonicaBizau IonicaBizau added this to the 2.0.0 milestone May 25, 2015
@IonicaBizau
Copy link
Owner

Any package to generate images without needing some special binaries to install (e.g. graphicsmagick)? graphicsmagick is powerful, but I'd still like not to use any other binary here. 🍀

@IonicaBizau
Copy link
Owner

This would be cool to be implemented in gh-cli-cal: IonicaBizau/cli-gh-cal#4.

This was referenced Aug 3, 2015
@IonicaBizau IonicaBizau modified the milestones: 2.1.0, 2.0.0 Aug 20, 2015
@IonicaBizau IonicaBizau self-assigned this Oct 23, 2016
@IonicaBizau
Copy link
Owner

gh-cli-cal returns the raw results and once #63 is fixed, we will be able to screenshot that page into an image.

@IonicaBizau
Copy link
Owner

I have a locally working solution. 🎉

git-stats --raw | git-stats-html  > out.html && pageres out.html 775x250 && rm out.html

Generated the following image:

out html-775x250

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants