All Projects → DmitrySikorsky → AspNetCoreImageResizingService

DmitrySikorsky / AspNetCoreImageResizingService

Licence: other
ASP.NET Core sample image resizing service

Programming Languages

C#
18002 projects

Projects that are alternatives of or similar to AspNetCoreImageResizingService

Uragano
Uragano, A simple, high performance RPC library. Support load balancing, circuit breaker, fallback, caching, intercepting.
Stars: ✭ 28 (+33.33%)
Mutual labels:  asp-net-core
WebAPI2CLI
Execute ASP.NET Core WebAPI from Command Line
Stars: ✭ 28 (+33.33%)
Mutual labels:  asp-net-core
squidex-samples
Samples for Squidex
Stars: ✭ 47 (+123.81%)
Mutual labels:  asp-net-core
notesnook
A fully open source & end-to-end encrypted note taking alternative to Evernote.
Stars: ✭ 5,098 (+24176.19%)
Mutual labels:  asp-net-core
DNZ.SEOChecker
SEO Checker and Recommander Plugin (like wordpress Yoast) for ASP.NET Core.
Stars: ✭ 18 (-14.29%)
Mutual labels:  asp-net-core
BlazoredLocalStorage
This library has been moved to the Blazored org
Stars: ✭ 26 (+23.81%)
Mutual labels:  asp-net-core
Inyector
Library to Implement Automatic dependency injection by Configuration over Scaned Assemblies
Stars: ✭ 13 (-38.1%)
Mutual labels:  asp-net-core
.NET-Core-Learning-Journey
Some of the projects i made when starting to learn .NET Core
Stars: ✭ 37 (+76.19%)
Mutual labels:  asp-net-core
ajxnetcore
Its an innovative method to turn an ASP.NET Core Application Into Single Page Application, While enhancing the Software performance both on server and client side.
Stars: ✭ 31 (+47.62%)
Mutual labels:  asp-net-core
AspNetCore.Unobtrusive.Ajax
Unobtrusive Ajax Helpers (like MVC5 Ajax.BeignForm and Ajax.ActionLink) for ASP.NET Core
Stars: ✭ 46 (+119.05%)
Mutual labels:  asp-net-core
arcus.webapi
Web API development with Microsoft Azure in a breeze.
Stars: ✭ 19 (-9.52%)
Mutual labels:  asp-net-core
XAF Security E4908
This repository contains examples for Role-based Access Control, Permission Management, and OData / Web / REST API Services for Entity Framework and XPO ORM
Stars: ✭ 47 (+123.81%)
Mutual labels:  asp-net-core
PersianDataAnnotations
PersianDataAnnotations is ASP.NET Core MVC & ASP.NET MVC Custom Localization DataAnnotations (Localized MVC Errors) for Persian(Farsi) language - فارسی سازی خطاهای اعتبارسنجی توکار ام.وی.سی. و کور.ام.وی.سی. برای نمایش اعتبار سنجی سمت کلاینت
Stars: ✭ 38 (+80.95%)
Mutual labels:  asp-net-core
BeautyBooking
Web application for booking beauty appointments (ASP.NET Core 3.1). My project for the ASP.NET Core course at SoftUni.
Stars: ✭ 35 (+66.67%)
Mutual labels:  asp-net-core
OnionArchitecture
The onion architecture, introduced by Jeffrey Palermo, overcomes the issues of the layered architecture with great ease. With Onion Architecture, the game-changer is that the Domain Layer (Entities and Validation Rules that are common to the business case ) is at the Core of the Entire Application. This means higher flexibility and lesser coupli…
Stars: ✭ 314 (+1395.24%)
Mutual labels:  asp-net-core
kontent-boilerplate-net
Kontent.ai Boilerplate for development of ASP.NET Core MVC applications.
Stars: ✭ 29 (+38.1%)
Mutual labels:  asp-net-core
AspNetCore.FriendlyExceptions
ASP.NET Core Filter and Middleware to catch exceptions and translate them into nice HTTP responses
Stars: ✭ 17 (-19.05%)
Mutual labels:  asp-net-core
XLocalizer
Localizer package for Asp.Net Core web applications, powered by online translation and auto resource creating.
Stars: ✭ 103 (+390.48%)
Mutual labels:  asp-net-core
DNTScheduler.Core
DNTScheduler.Core is a lightweight ASP.NET Core's background tasks runner and scheduler
Stars: ✭ 44 (+109.52%)
Mutual labels:  asp-net-core
QRCoder-implemented-in-ASP.NET-Core
QRCoder Implemented in ASP.NET Core
Stars: ✭ 24 (+14.29%)
Mutual labels:  asp-net-core

ASP.NET Core Sample Image Resizing Service

This is a demo web application for the “ASP.NET Core Sample Image Resizing Service” post on the Dmitry Sikorsky’s blog. It demonstrates how to build image resizing service on ASP.NET Core using the CoreCompat.System.Drawing package for the image processing.

It downloads an image specified by the URL, crops it using the parameters (provided in the URL too), and writes the cropped image into the output stream.

This is the original photo of my cat: Original photo of my cat Original photo of my cat

This is the URL used to crop the photo: http://localhost:60233/image?url=http://sikorsky.pro/images/my_cat.jpg&sourcex=240&sourcey=240&sourcewidth=360&sourceheight=360&destinationwidth=200&destinationheight=200

And this is the cropped photo: Cropped photo of my cat Cropped photo of my cat

Usually I use something like this to prepare images for the mobile devices depending on their real screen resolutions and image container sizes. This allows to save the traffic and image downloading time. Also, it makes images look better because they don’t need any scaling.

Updated to use .NET Core 3.1.

Using the Application

  1. Run the application.
  2. You will have 404 error and it is OK.
  3. Navigate to http://localhost:60233/image?url=http://some-image-url&sourcex=0&sourcey=0&sourcewidth=100&sourceheight=100&destinationwidth=100&destinationheight=100.
  4. You will get 100x100 fragment from the given image.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].