元数据处理(EXIF 读写、PNG 元数据)
| 项目 | 数量 |
|---|---|
| 公开函数 | 10 |
| 公开类型 | 2 |
| 常量 | 0 |
| 错误类型 | 0 |
pub(all) struct ExifInfo {
pub(all) struct PngTextChunk {pub fn create_exif_segment(ExifInfo) -> Bytes
pub fn read_exif_from_bytes(Bytes) -> ExifInfo?
pub fn read_png_text_chunks(Bytes) -> Array[PngTextChunk]
pub fn write_exif_to_bytes(ExifInfo, Bytes) -> Bytes raise @types.LoadError
pub fn ExifInfo::equal(Self, Self) -> Bool
pub fn ExifInfo::not_equal(Self, Self) -> Bool
pub fn ExifInfo::to_repr(Self) -> @debug.Repr
pub fn PngTextChunk::equal(Self, Self) -> Bool
pub fn PngTextChunk::not_equal(Self, Self) -> Bool
pub fn PngTextChunk::to_repr(Self) -> @debug.Reprpub(all) struct ExifInfoExtended {
make : String
model : String
orientation : Int
date_time : String
exposure_time : String
f_number : Double
iso : Int
focal_length : Double
exposure_mode : Int
white_balance : Int
flash : Int
gps_latitude : Double
gps_longitude : Double
gps_altitude : Double
pixel_x_dim : Int
pixel_y_dim : Int
} derive(Default, Eq, Debug)fn read_png_exif_from_bytes(data : Bytes) -> Bytes?fn write_png_exif_to_bytes(exif_data : Bytes, png_data : Bytes) -> Bytes raise core/types.LoadErrorfn write_png_text_chunks(chunks : Array[PngTextChunk], png_data : Bytes) -> Bytes raise core/types.LoadErrorInstall
Download zipMoonBit image codec: pure MoonBit backend for 18+ image formats, color, metadata, barcode.