Bekra.İmageDownload 2.0.0

dotnet add package Bekra.İmageDownload --version 2.0.0
NuGet\Install-Package Bekra.İmageDownload -Version 2.0.0
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Bekra.İmageDownload" Version="2.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Bekra.İmageDownload --version 2.0.0
#r "nuget: Bekra.İmageDownload, 2.0.0"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Bekra.İmageDownload as a Cake Addin
#addin nuget:?package=Bekra.İmageDownload&version=2.0.0

// Install Bekra.İmageDownload as a Cake Tool
#tool nuget:?package=Bekra.İmageDownload&version=2.0.0

Bekra.ImageDownload

Bekra.ImageDownload, .NET platformunda resim indirme işlemlerini kolaylaştırmak için oluşturulmuş bir kütüphanedir. Bu kütüphane ile resimleri belirtilen URL adreslerinden indirebilir ve kaydedebilirsiniz.

Özellikler

  • Resimleri belirtilen URL adreslerinden indirme.
  • İndirilen resimleri belirtilen dosya adı ve formatla kaydetme.
  • Geriye dönük uyumlu ve kolay kullanım.

Nasıl Kullanılır

Aşağıda, Bekra.ImageDownload kütüphanesini kullanarak bir resmi nasıl indireceğinizi gösteren örnek bir kod bulunmaktadır:

using System.Drawing.Imaging;
using BekraİmageDownload;

class Program
{
    static void Main()
    {
        string imageUrl = "https://4.bp.blogspot.com/-i5PEHve8n4k/Xghl14diB2I/AAAAAAAACaU/QaMj0LUoeV4iJCbNMSZJ399s7j7kKMMtwCK4BGAYYCw/s1600/Ads%25C4%25B1z.webp";
        string filename = "downloaded_image.jpg"; // İndirilen resmin dosya adı
        ImageFormat format = ImageFormat.Jpeg; // İndirilen resmin formatı

        using (ImageDownloader downloader = new ImageDownloader())
        {
            bool result = downloader.SaveImage(imageUrl, filename, format);

            if (result)
            {
                Console.WriteLine("Resim başarıyla indirildi ve kaydedildi.");
            }
            else
            {
                Console.WriteLine("Resim indirilirken bir hata oluştu.");
            }
        }
    }
}

Kurulum

Bekra.ImageDownload'ı kullanmak için NuGet paketi olarak projenize ekleyebilirsiniz. Visual Studio'da Package Manager Console kullanarak aşağıdaki komutu çalıştırabilirsiniz:

Install-Package Bekra.ImageDownload<

Lisans

Bu proje MIT Lisansı altında lisanslanmıştır.

Product Compatible and additional computed target framework versions.
.NET Framework net is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
2.0.0 84 10/3/2023
1.1.0 261 6/4/2020
1.0.0.1 190 6/4/2020
1.0.0 148 6/4/2020