Skip to content
This repository was archived by the owner on Jan 5, 2021. It is now read-only.
This repository was archived by the owner on Jan 5, 2021. It is now read-only.

Scaling does not take height into consideration. #13

Description

@majidhassan

I'm trying to scale an image without keeping the original ratio.

image.scale({
    width: 1000,
    height: 500
});

So, for instance, if an image has the dimensions 2000 x 800 before scaling, after calling the scale function as indicated above, the resulted image has the dimensions 1000 x 400 instead of 1000 x 500.

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