MCPcopy Create free account
hub / github.com/dromara/Omega-AI / drawImage

Method drawImage

src/main/java/com/omega/common/utils/ImageUtils.java:349–358  ·  view source on GitHub ↗

通过BufferedImage图片流调整图片大小 指定压缩后长宽

(BufferedImage originalImage, int targetWidth, int targetHeight, int[][] bbox)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 8

letterboxMethod · 0.80
deepCopyMethod · 0.80
resizeCenterCropMethod · 0.80
resizeMethod · 0.80
resizeImageMethod · 0.80
getScaledInstanceMethod · 0.80
createScaledRGBGIFMethod · 0.80

Calls 2

setColorMethod · 0.80
drawRectMethod · 0.80

Tested by 1

letterboxMethod · 0.64