alibaba / alibaba/simpleimage

比如图片 750 * 670 ,我要750*750的,根据这个new ScaleParameter(750, 750)类的设置, 最后得到的图片还是,750 * 670 而我想要的是,670 * 670 这样

Open
#11 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
1k
Forks
377
PR merge metrics
No merged PRs in 30d

Description

比如图片 750 \* 670 ,我要750*750的,根据这个new ScaleParameter(750, 750)类的设置, 最后得到的图片还是,750 \* 670 而我想要的是,670 \* 670 这样

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the reported case using a 750 × 670 image and new ScaleParameter(750, 750), then inspect how the scaling dimensions are handled. The fix is complete when the result is 670 × 670 rather than 750 × 670.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
computer-graphics
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.