OpenTUI 0.5.1
Added
- core: PNG images with an embedded ICC profile are now validated and converted to sRGB when their pixels are decoded. PNGs that qualify stay encoded for direct Kitty passthrough, and pixels are decoded only when needed. See NativeImage. (#1327)
Fixed
- core: PNG images with ASCII space, tab, LF, or CR bytes after the
IENDchunk now load. Malformed chunks and other trailing data are still rejected. See NativeImage. (#1326)
API changes#
@opentui/core#
Added
property RenderLib.imageMaterialize: (image: ImageHandle) => numberproperty RenderLib.imageReleaseIccCache: () => voidproperty RenderLib.imageRetainIccCache: () => voidproperty RenderLib.imageTestFailIccProfileCopyAllocationOnce: () => void