Ecosyste.ms: Packages

An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

nuget.org : t4image

T4 Image: Compress, Resize, Create QR Code, Barcode,... T4 Image is library compress images on the .net platform. Has been added 2 function NEW: BarCode and QRCode T4 Image use core SkiaSharp. - Upgrade image compression algorithm compared to older versions. For more optimal compression results. - Support image compression with the quality selected in the range (from-to), instead of fixing a value like the old version. - Support compression level (Quality, Balance and Storage): + Quality: High file size, quality and speed + Balance: Normal file size, quality and speed + Storage: Low file size, quality and speed ### T4Image.QRCode: T4Image.QRCode qrcode = new T4Image.QRCode(TextInput, EECLevel); T4Image.IInput readImg = qrcode.Export(); ### T4Image.BarCode: T4Image.BarCode barcode = new T4Image.BarCode(BarcodeStandard.TYPE, TextInput, Show/HideLabel); T4Image.IInput readImg = barcode.Export(); ### T4Image.IInput: T4Image.IInput readImg = new T4Image.Input(fileImage) - Input image with: Url, Uri, File, String Base64, Bytes. - Details: + Url: readImg.Url() + Uri format data:[media type][;base64],data (EX: data:image/jpeg;base64,iVBORw0KGgoAAAANSUhEUgAAAAUA): readImg.Url() + File: readImg.File() + String Base64: readImg.Base64() + Bytes: readImg.Bytes(byte[] bytesInput) + FromImage: readImg.FromImage(Image img) + ImageFile: Type Image after read + StreamFile: Type Stream after read + FileName: File name after read + FileExtension: File extension after read (default png) ### T4Image.IOutput (Option): T4Image.IOutput writeImg = new T4Image.Output(T4Image.Output.LevelOptimal.Storage, (100), "/_t4", "", "") - Output image with: Quality, Level Optimal, FolderExport, FileName, FileExtension - Details: + Level Optimal: Priority level optimal (Quality, Balance, Storage). + Quality: (int, int) => (From, To). Default (25, 80). + FolderExport: Default (string.Empty) get folder import. + FileName: Rename file export. Default (string.Empty) is get default + FileExtension: Change extension. Default (string.Empty) is get default ### T4Image.IResize (Option): new T4Image.Resize(readImg.ImageFile, 800, 900, T4Image.Resize.Priority.Auto); - Resize image with: Image, Width, Height, Priority - Details: + Image: Type Image from T4Image.IInput + Width: Resize Width + Height: Resize Height + Priority: ++ None: Not priority, set width, height width resize. ++ Auto: Auto Width or Height priority (size image width > height => Width, else Height) ++ Width: Lock Width, change Height ++ Height: Lock Height, change Width ### T4Image.Optimizer: T4Image.Optimizer op = new T4Image.Optimizer(readImg, writeImg, resizeImg) - Process compress image with ExportMemoryStream, ExportFile or ExportImage - Details: + IInput: T4Image.IInput + IOutput: T4Image.IOutput + IResize (Option): T4Image.IResize + ExportStream: Export result type Stream + ExportImage: Export result type Image + ExportFile: Export result file with folder from T4Image.IOutput

Registry - Homepage - JSON
purl: pkg:nuget/t4image
Keywords: fileextension, iinput, imagefile, ioutput, optimizer, priority, quality, readimg, storage
License:
Latest release: almost 4 years ago
First release: over 4 years ago
Downloads: 5,359 total
Stars: 1 on GitHub
Forks: 0 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: 4 days ago

    Loading...
    Readme
    Loading...