Skip to content

resizeImageInFixedSize should not stretch image #4

@mastizada

Description

@mastizada

Stretching image makes it ugly. Instead it would be better to:

  1. Add default background (get color using parameter, default to white),
  2. Resize image: The hight or width of resized image should be same as required result. As a result we will have width or hight smaller than expected size.
  3. Add resized image to created background.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions