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

Square Image Capture In pkgnet_build_gallery.R Process #18

Open
bburns632 opened this issue Apr 11, 2019 · 2 comments
Open

Square Image Capture In pkgnet_build_gallery.R Process #18

bburns632 opened this issue Apr 11, 2019 · 2 comments
Labels
enhancement New feature or request

Comments

@bburns632
Copy link
Collaborator

Currently, webshot is used to to grab an image of the functional network from the pkgnet report. This image is rectangular, and no cropping of whitespace was done in the initial version in order to avoid cropping out non whitespace.

The images generated from this process are commonly 960x475, and we restrict them to a width of 300. This shrinks the image. When they are in line with a square image taken via a seperate process (screen shot possibly), this makes them look especially small.

One solution I would think is to take square pictures of the networks to begin with, but I am open to other solutions.

Here are the original images:
image
image
image

Here's what they look like in a row:
image

@bburns632 bburns632 added the enhancement New feature or request label Apr 11, 2019
@jameslamb
Copy link
Collaborator

Can our plotting backend create SVGs?

@bburns632
Copy link
Collaborator Author

@jameslamb unfortunately, visNetwork does not appear to have support for svg format.

datastorm-open/visNetwork#84
datastorm-open/visNetwork#204

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants