{"id":22897140,"url":"https://github.com/jackkoolage/image4iosdk","last_synced_at":"2025-04-01T00:43:42.122Z","repository":{"id":40886265,"uuid":"244796152","full_name":"jackkoolage/Image4ioSDK","owner":"jackkoolage","description":"a .Net wrapper library for Image4.io API","archived":false,"fork":false,"pushed_at":"2022-12-08T02:16:12.000Z","size":491,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-01T00:43:38.014Z","etag":null,"topics":["api","cdn","csharp","csharp-library","dotnet","dotnet-core","dotnet-framework","dotnet-standard","framework","free","hosting","image","sdk","sharing","upload","vb","vb-net","vbnet","visual-basic"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jackkoolage.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-03-04T03:12:34.000Z","updated_at":"2020-03-27T10:20:25.000Z","dependencies_parsed_at":"2023-01-25T03:15:52.127Z","dependency_job_id":null,"html_url":"https://github.com/jackkoolage/Image4ioSDK","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jackkoolage%2FImage4ioSDK","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jackkoolage%2FImage4ioSDK/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jackkoolage%2FImage4ioSDK/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jackkoolage%2FImage4ioSDK/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jackkoolage","download_url":"https://codeload.github.com/jackkoolage/Image4ioSDK/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246563384,"owners_count":20797446,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["api","cdn","csharp","csharp-library","dotnet","dotnet-core","dotnet-framework","dotnet-standard","framework","free","hosting","image","sdk","sharing","upload","vb","vb-net","vbnet","visual-basic"],"created_at":"2024-12-14T00:15:32.268Z","updated_at":"2025-04-01T00:43:42.100Z","avatar_url":"https://github.com/jackkoolage.png","language":"C#","readme":"## Image4ioSDK\n\n`Download:`[https://github.com/jackkoolage/Image4ioSDK/releases](https://github.com/jackkoolage/Image4ioSDK/releases)\u003cbr\u003e\n`Help:`[https://github.com/jackkoolage/Image4ioSDK/wiki](https://github.com/jackkoolage/Image4ioSDK/wiki)\u003cbr\u003e\n`NuGet:`\n[![NuGet](https://img.shields.io/nuget/v/DeQmaTech.Image4ioSDK.svg?style=flat-square\u0026logo=nuget)](https://www.nuget.org/packages/DeQmaTech.Image4ioSDK)\u003cbr\u003e\n\n\n# Features:\n* Assemblies for .NET 4.5.2 and .NET Standard 2.0 and .NET Core 2.1\n* Just one external reference (Newtonsoft.Json)\n* Easy installation using NuGet\n* Upload/Download tracking support\n* Proxy Support\n* Upload/Download cancellation support\n\n\n# List of functions:\n**Management**\n\u003e * ImageMetadata\n\u003e * ImageCopy\n\u003e * ImageMove\n\u003e * ImageDelete\n\u003e * FolderDelete\n\u003e * FolderCreate\n\u003e * FolderList\n\u003e * Upload\n\u003e * UploadMultiable\n\u003e * UploadRemotely\n\n**Transformation**\n\u003e * ToWebP\n\u003e * Resize\n\u003e * Compress\n\n# CodeMap:\n![codemap](https://i.postimg.cc/FK1nJndz/io-codemap.png)\n\n# Code simple:\n```vb\nDim Clint As Image4ioSDK.IClient = New Image4ioSDK.OClient(\"cloud_name\", \"api_key\", \"api_secret\", New Image4ioSDK.ConnectionSettings With {.CloseConnection = True, .TimeOut = TimeSpan.FromMinutes(80), .Proxy = New Image4ioSDK.ProxyConfig With {.SetProxy = True, .ProxyIP = \"127.0.0.1\", .ProxyPort = 80, .ProxyUsername = \"user\", .ProxyPassword = \"123456\"}})\n\nAwait Clint.FolderCreate(\"folder_name\", \"folder_path\")\nAwait Clint.FolderDelete(\"folder_name\")\nAwait Clint.FolderList(\"folder_path\")\nAwait Clint.ImageCopy(\"image_path\", \"folder_path\")\nAwait Clint.ImageDelete(\"image_path\")\nAwait Clint.ImageMetadata(\"image_path\")\nAwait Clint.ImageMove(\"image_path\", \"folder_path\")\n\nDim CancelToken As New Threading.CancellationTokenSource()\nDim _ReportCls As New Progress(Of Image4ioSDK.ReportStatus)(Sub(r) Console.WriteLine($\"{r.BytesTransferred}/{r.TotalBytes}\" + r.ProgressPercentage + If(r.TextStatus, \"Downloading...\")))\nAwait Clint.Upload(\"C:\\Down\\mypic.jpg\", Image4ioSDK.Utilitiez.UploadTypes.FilePath, \"folder_path\", \"mypic.jpg\", True, False, _ReportCls, CancelToken.Token)\nDim multiFiles = New List(Of Image4ioSDK.OClient.MultiableUpload)\nmultiFiles.Add(New Image4ioSDK.OClient.MultiableUpload With {.FileToUpload = \"C:\\Down\\mypic1.jpg\", .FileName = \"mypic1.jpg\"})\nmultiFiles.Add(New Image4ioSDK.OClient.MultiableUpload With {.FileToUpload = \"C:\\Down\\mypic2.jpg\", .FileName = \"mypic2.jpg\"})\nAwait Clint.UploadMultiable(multiFiles, Image4ioSDK.Utilitiez.UploadTypes.FilePath, \"folder_path\", True, False, _ReportCls, CancelToken.Token)\nAwait Clint.UploadRemotely(\"https://domain.com/mypic.jpg\", \"folder_path\")\nAwait Clint.Download(\"image_path\", \"C:\\Down\", \"mypic.jpg\", _ReportCls, CancelToken.Token)\n\n'' Transformation\nDim meta = Await Clint.ImageMetadata(\"tzt/40d78f11-2b11-4169-aa73-b953573666cd.jpg\")\nClint.Transformation(meta).Compress(75)\nClint.Transformation(meta).Resize(75, 800, 600)\nClint.Transformation(meta).ToWebP(75, 800, 600)\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjackkoolage%2Fimage4iosdk","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjackkoolage%2Fimage4iosdk","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjackkoolage%2Fimage4iosdk/lists"}