#png #ios #tool

pngdefry

ios pngdefry

6 releases

0.0.6 May 13, 2024
0.0.5 May 13, 2024
0.0.4 Apr 27, 2024
0.0.2 Feb 26, 2024

#434 in Images

Download history 5/week @ 2024-09-22

422 downloads per month

MIT license

300KB
5.5K SLoC

C 5K SLoC // 0.1% comments Rust 91 SLoC // 0.0% comments

pngdefry

Latest Version

ios pngdefry tool for rust

QQ群

使用指南

判断是不是iphone png

let result = pngdefry::iphone_png("./iphone.png").unwrap();
if(result){
    println!("iphone png");
}else{
    println!("not iphone png");
}

还原iphone png

pngdefry::convert("./iphone.png","./big.png").unwrap();

Dependencies

~0–2.2MB
~44K SLoC