Skip to content

如何对图片进行裁剪 #463

@Xmtd

Description

@Xmtd

现有一个需求,图片需要根据槽位的宽高比进行适配,当图片宽高比大于槽位宽高比的情况,高度占满槽位,宽度截断,实现这个有什么好的建议?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions