Skip to content

Square Image Capture In pkgnet_build_gallery.R Process #18

Description

@bburns632

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions