v2.1.2flutter_luban
Dart के image पर आधारित Luban की तरह एक छवि संपीड़न पैकेज। इस प per लाइब्रेरी में कोई सिस्टम प्लेटफॉर्म सीमा नहीं है।
101लाइक 57330-दिन डाउनलोड130Pub अंक
AndroidiOSmacOSWindowsLinux
Dart के लिए Luban की तरह एक छवि संपीड़न पैकेज
यह अंग्रेज़ी मूल स्नैपशॉट है। नवीनतम सामग्री GitHub पर देखें।
An image compress package like Luban for Dart, based on image.
If toRgb: true , it supports all readable image formats
CompressObject compressObject = CompressObject(
imageXFile: imageXFile, //image file
path: tempDir.path, //compress to path, default Directory.systemTemp.path
useCache: true, //If there is a cache, no compression will be performed
toRgb: true, //Convert the image to jpg
numberOfColors: 128, //the numberOfColors of image.quantize
);
Luban.compressImage(compressObject).then((xfile) {
setState(() {
print(xfile.path);
});
});
निर्भरता सूची 4 आइटम
{"sdk":"flutter"}^4.9.2^0.3.5+5{"sdk":"flutter"}उपयोग के अनुसार छाँटें, गतिविधि की तुलना करें और अपनाने से पहले मूल प्रोजेक्ट की आवश्यकताएँ जाँचें।
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗