Module cloud.opencode.base.image


module cloud.opencode.base.image
OpenCode Base Image Module OpenCode 图片处理模块

Provides AWT-free image processing capabilities including resize, crop, rotate, watermark, compress, and format conversion. All read/write paths go through opencode-base-image-codec; the module no longer requires java.desktop.

提供零 AWT 的图像处理能力,包括缩放、裁剪、旋转、水印、压缩和格式转换。 所有读写路径通过 opencode-base-image-codec;本模块不再依赖 java.desktop

Supported Formats | 支持的格式:

  • PNG / JPEG / WebP / BMP / GIF - via opencode-base-image-codec

V1.0.4 BREAKING CHANGE: The standalone module opencode-base-image-core has been merged into this module. Source-level packages cloud.opencode.base.image.core and cloud.opencode.base.image.core.exception are preserved verbatim (Raster / PixelFormat / OpenImageCoreException), so downstream import statements require no changes; only the Maven coordinate opencode-base-image-core and JPMS module cloud.opencode.base.image.core are removed.

V1.0.4 不兼容变更:独立模块 opencode-base-image-core 已合并入本模块。源码级包 cloud.opencode.base.image.corecloud.opencode.base.image.core.exception 完整保留 (Raster / PixelFormat / OpenImageCoreException),下游 import 无需修改;仅移除 Maven 坐标 opencode-base-image-core 与 JPMS 模块 cloud.opencode.base.image.core

Since:
JDK 25, opencode-base-image V1.0.0