Skip to content

Difference in output resolution when using the resolution guide #200

Description

@jinukim-ml

Hi! I'm really enjoying the project and thank you for all the work.

While using the resolution guide for 1080p (6.4 for -W and 3.6 for -H), I've noticed the resulting resolution is 1950x1110 instead of 1920x1080.

I think this is because of pad_inches=0.05 in here:

save_kwargs = dict(
        facecolor=THEME["bg"],
        bbox_inches="tight",
        pad_inches=0.05,
    )

At 300 dpi, this would add 30 pixels since there are additional 0.1 inches in both dimensions.

Can we change the resolution guide so that it matches the DPI setting?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions