ImageThumbnailCreator.Core
1.0.1
See the version list below for details.
dotnet add package ImageThumbnailCreator.Core --version 1.0.1
NuGet\Install-Package ImageThumbnailCreator.Core -Version 1.0.1
<PackageReference Include="ImageThumbnailCreator.Core" Version="1.0.1" />
paket add ImageThumbnailCreator.Core --version 1.0.1
#r "nuget: ImageThumbnailCreator.Core, 1.0.1"
// Install ImageThumbnailCreator.Core as a Cake Addin #addin nuget:?package=ImageThumbnailCreator.Core&version=1.0.1 // Install ImageThumbnailCreator.Core as a Cake Tool #tool nuget:?package=ImageThumbnailCreator.Core&version=1.0.1
Image Thumbnail Creator .NET 5
Short description
- Create thumbnails from images
- Save the original with the thumbnail version for easy links to full resolution version
- Downsize large resolution images and compress thumbnails to your desired level
Excellent addition for custom blog sites, local file management, and even a tool to quickly downsize images for your custom content.
Original uploaded images can be saved to the file system.
Thumbnails will be saved to the file system automatically.
Repository
https://github.com/godfathr/ImageThumbnailCreator.Core.
Sample projects
Sample usage
private static string _thumbnailAndOriginalSaveFolder = Path.Combine(_testImageFolder, @"ProcessedImages");
private Thumbnailer _thumbnailer = new Thumbnailer();
//Save the original photo at its original resolution
string imageLocation = Path.Combine(_testImageFolder, fileName);
IFormFile formFile = _fixture.ConvertFileToStream(imageLocation, _fixture.GetImageTypeEnum(fileName), fileName);
Specify a compression level:
//With specified compression level of 75
string thumbnailSaveLocation = await _thumbnailer.Create(250, _thumbnailAndOriginalSaveFolder, _thumbnailAndOriginalSaveFolder, formFile, 75L);
OR if a compression value is not provided, the default 85 will be used:
string thumbnailSaveLocation = await _thumbnailer.Create(250, _thumbnailAndOriginalSaveFolder, _thumbnailAndOriginalSaveFolder, formFile);
Link to .NET Framework version
https://dotnet.microsoft.com/download/dotnet/5.0
Link to report issues
https://github.com/godfathr/ImageThumbnailCreator.Core/issues
License
https://github.com/godfathr/ImageThumbnailCreator.Core/blob/main/LICENSE
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 is compatible. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
-
net5.0
- Microsoft.AspNetCore.Http (>= 2.2.2)
- System.Drawing.Common (>= 5.0.2)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Initial build of the .NET 5 version of the ImageThumbnailCreator.