Cayaqui.Images
0.4.21
dotnet add package Cayaqui.Images --version 0.4.21
NuGet\Install-Package Cayaqui.Images -Version 0.4.21
<PackageReference Include="Cayaqui.Images" Version="0.4.21" />
<PackageVersion Include="Cayaqui.Images" Version="0.4.21" />
<PackageReference Include="Cayaqui.Images" />
paket add Cayaqui.Images --version 0.4.21
#r "nuget: Cayaqui.Images, 0.4.21"
#:package Cayaqui.Images@0.4.21
#addin nuget:?package=Cayaqui.Images&version=0.4.21
#tool nuget:?package=Cayaqui.Images&version=0.4.21
Cayaqui.Images
Servicio de gestión de imágenes para .NET 10: validación, EXIF + GPS, auto-rotate, HEIC → JPG, resize, crop cuadrado (avatares), watermark, thumbnails, SHA-256 para dedup. Backend: Magick.NET (Apache 2.0).
Distribución propietaria — requiere contrato comercial con Cayaqui. Ver
LICENSE.txt.
Changelog
v0.1.2 — Parche de seguridad
- Actualiza
Magick.NET-Q8-AnyCPU14.12.0 → 14.13.1 (corrige advisory NU1903 de severidad alta). - Sin cambios de API. Upgrade recomendado para todos los consumidores de 0.1.0 / 0.1.1.
Casos de uso
- Fotos de capataz en field (MAUI / Blazor oficina técnica)
- Fotos de perfil / avatares de usuarios
- Evidencia fotográfica de documentos
- Inyección de imágenes procesadas en
Cayaqui.Reports(PDF / Word / Excel)
Instalación
dotnet add package Cayaqui.Images
builder.Services.AddCayaquiImages();
// Si usás ProcessAndStoreAsync, también:
builder.Services.AddCayaquiStorage(opt => opt.UseAzureBlob("..."));
Quick start
@inject IImageService Images
var result = await Images.ProcessAsync(file.OpenReadStream(), new ImageProcessOptions
{
ResizeMaxDimension = 2048,
CropMode = CropMode.SquareCenter, CropToSize = 512, // solo para avatares
ThumbnailSizes = new[] { 128, 512 },
WatermarkText = "ACME · 2026-04-24",
StripExifOnOutput = true // privacy default
});
// result.Primary = byte[] del JPG procesado
// result.Thumbnails[128] = thumbnail 128px
// result.Metadata.Sha256 = hash para dedup
// result.Metadata.TakenAt, Latitude, Longitude = EXIF extraído
Deployment
Azure Container Apps compatible con caveats:
- Base image glibc (
aspnet:10.0Debian OK;-alpineno) - ≥1GB RAM por replica
- KEDA
concurrentRequests: 5recomendado
Ver docs/infrastructure/images.md para Dockerfile + deployment notes completos.
Requisitos
- .NET 10.0+
- Para HEIC: backend Linux/Windows/macOS (Magick.NET bundlea libheif)
- Para
ProcessAndStoreAsync:Cayaqui.Storageregistrado
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- Azure.Identity (>= 1.21.0)
- Azure.Storage.Blobs (>= 12.29.0)
- Cayaqui.Storage (>= 0.4.21)
- Magick.NET-Q8-AnyCPU (>= 14.14.0)
- Microsoft.Extensions.Configuration.Abstractions (>= 10.0.9)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 10.0.9)
- Microsoft.Extensions.Hosting.Abstractions (>= 10.0.9)
- Microsoft.Extensions.Logging.Abstractions (>= 10.0.9)
- Microsoft.Extensions.Options (>= 10.0.9)
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 |
|---|---|---|
| 0.4.21 | 95 | 6/23/2026 |
| 0.4.20 | 89 | 6/23/2026 |
| 0.4.15 | 103 | 6/22/2026 |
| 0.4.14 | 99 | 6/22/2026 |
| 0.4.13 | 95 | 6/22/2026 |
| 0.4.10 | 109 | 6/20/2026 |
| 0.4.5 | 98 | 6/20/2026 |
| 0.4.3 | 98 | 6/20/2026 |
| 0.4.2 | 98 | 6/20/2026 |
| 0.4.1 | 100 | 6/20/2026 |
| 0.3.9 | 100 | 6/19/2026 |
| 0.3.8 | 97 | 6/18/2026 |
| 0.3.7 | 99 | 6/18/2026 |
| 0.3.6 | 109 | 6/18/2026 |
| 0.3.5 | 94 | 6/18/2026 |
| 0.3.4 | 96 | 6/17/2026 |
| 0.1.2 | 99 | 6/16/2026 |
| 0.1.1 | 99 | 6/16/2026 |
| 0.1.0 | 97 | 6/15/2026 |
v0.1.2 — Security: bump Magick.NET-Q8-AnyCPU 14.12.0 → 14.13.1 (fixes NU1903 high-severity advisory). No API changes; recommended upgrade for all 0.1.0/0.1.1 consumers.
v0.1.0 — Initial release. IImageService with Magick.NET backend: validation, EXIF/GPS extraction, auto-rotate, HEIC→JPG, resize, crop, watermark, thumbnails, SHA-256 dedup. Optional Storage integration via ProcessAndStoreAsync.