mirror of
https://github.com/mamoe/mirai.git
synced 2025-01-08 17:20:11 +08:00
4ce57f52a8
* Add height, width, size and imageType attribute to Image class Close #1543 #1204 #1032 * Let ImageType enum code before the `Internals`, Also add @JvmStatic and OrNull version for match method * Use runBIO and throws annotation for getImageInfo * Add .kt suffix for MPP imagesImpl * Return empty imageInfo for unsupported images * Fix wrong file name * apiDump * Renaming MPP file instead of adding JvmName annotation * Optimize readability and only use BIO at call-site * Fix bug for detecting image type * Detecting javax module for java 9+ * Clean up * Disable some image types which not supported * Use cross platform code to read images, readd support for apng * Fix bug in reading image * apiDump * Fix bug in image reading and write unite test * Fix wording * Remove webp support and throws IllegalArgumentException for unsupported format * Remove WEBP enum type * Add unit test for unsupported image and correct comments * Fix buffer input stream error when reading images * Applying suggestions and fix jpg reading * Add complete SOF decoding for jpg and clean up * Caching jpg sof byte ranges * Save `values()` as IMAGE_TYPE_ENUM_LIST for preventing clone operation * Remove duplicated it |
||
---|---|---|
.. | ||
src | ||
build.gradle.kts | ||
README.md |
mirai-core-utils
内部工具类模块。提供二进制兼容而不提供源码兼容,但也不保证破坏性变更不会发生,因此若要使用该工具模块,请自行承担兼容后果。