Questions tagged [imageresizer]
ImageResizer is a general-purpose .NET image processing library designed for server-side use, and focusing on scalability, safety, and image quality.
574
questions
18
votes
1
answer
44k
views
Can't reference system.drawing.dll
i'm trying to resize images with ImageResizer, but keep getting a compilation error
"Error 1 The type 'System.Drawing.Bitmap' is defined in an assembly
that is not referenced. You must add a ...
8
votes
2
answers
8k
views
Image Resizer and ASP.NET Core
Can ImageResizer be used in an MVC6 (MVC Core) application. We understand that ImageFlow can be (not yet released), but what can we do in the meantime.
Many thanks
8
votes
1
answer
370
views
Using image404 with azurereader2 in ASP.net
I am using following plugin to resizes images in ASP.net application AzureReader2 works fine image404 works fine seprately but when I try to access blob url it does not redirect and it is giving
...
7
votes
1
answer
4k
views
Creating a sprite image using ASP.NET
I'm having a major performance issue. The problem is on one of my websites there is a slider that calls about 180 images. Each one of those 180 images is downloaded by a client browser via an ...
7
votes
0
answers
554
views
Images being rotated after ImageJob but not wanted
I'm having an issue with some images being rotated during the processing of ImageJob.
I'm having an issue with detecting the correct rotation of an image uploaded from some (modern) mobile devices.
...
6
votes
1
answer
3k
views
Resizing and cropping images using ImageResizer
I'm trying to resize and then square-crop incoming images. I have my image in a ReadOnlyStream and would like to output to MemoryStream.
I'm using ImageResizer library to do this.
I'd like my images ...
6
votes
3
answers
7k
views
ASP.NET Image Resizing and Cropping [closed]
I m looking for ASP.NET Image Resizing, Cropping
that is good in image re-sizing, cropping etc.
Anyone know please share
Thankx In Advance
5
votes
1
answer
2k
views
How to use the autorotate plugin in ImageResizer
How do I use the AutoRotate plugin in a c# console application? I thought I'd be able to do something like settings.AutoRotate = true; like I can change the fit mode to use the seam carving plugin.
I'...
5
votes
2
answers
741
views
ImageResizer disposing provided Image reference
We are using the image resizer from imageresizing.net and are seeing some weird behaviour.
When we read an image in from a stream and then resize the image we can no longer access the properties of ...
5
votes
1
answer
1k
views
c# image resizing
Just working on a image uploader/resizer in my asp.net 4 web forms project. Does anyone know of a technique in C# for resizing uploaded images that could help with ones that are smaller than the ...
5
votes
2
answers
2k
views
Determine current size of image using ImageResizer.net
We have recently started using ImageResizer.Net over GDI+ for dynamically resizing images on our ASP.NET MVC 4 application.
Is there a way, using only ImageResizer, to determine the actual resolution(...
4
votes
3
answers
3k
views
Image Resizing from SQL Database on the fly with MVC2
I have a simple MVC2 app that uploads a file from the browser to an MS SQL database as an Image blob.
Then I can return the results with something like:
public FileContentResult ShowPhoto(...
4
votes
1
answer
2k
views
MVC4 Project and ImageResizer
Problem: MVC 4 test application with ImageResizer on any page access responds with "Could not load type 'ImageResizer.InterceptModule'"
To test and understand how ImageResizer works a MVC4 project ...
4
votes
3
answers
5k
views
Converting image into stream
I'm using a function that uploads an image, takes the stream and resizes it using imageresizer.net, then uploads the stream to Amazon S3.
Now I want to take a local picture and convert it into a ...
4
votes
1
answer
1k
views
ImageResizer error
I'm using the Image Resizer imageresizing.net. But, when I'm trying to upload or resize an image, an error occurs:
The source stream is at the end (have you already read it?). You must call stream....
4
votes
3
answers
3k
views
Resizing large images with ImageResizer and out of memory exceptions
I'm encountering out of memory exceptions when i resize images 9000x9000 square using ImageResizer.Net (on a 32-bit system):
ImageBuilder.Current.Build(imageFileName, outputFileName, settings, true);
...
4
votes
1
answer
2k
views
ImageResizer: how do you use Instructions?
The documentation for ResizeSettings says:
"Replaced by the Instructions class"
http://documentation.imageresizing.net/docu/ImageResizer/ResizeSettings.htm
The documentation for Instructions says:
"...
4
votes
2
answers
4k
views
Loosing transparency in System.Drawing.Image when using ImageResizer for resizing
For my current WPF appliaction I have to down scale some System.Drawing.Image ( objects which I load from PNG files (some of them with transparent background). I've tried multiple approaches for the ...
4
votes
1
answer
1k
views
Compilation errors with ImageResizer 3.2.1
After allowing Nuget to update ImageResizer 3.1.5 to version 3.2.1 my compiles are failing with multiple errors (all same type):
Error 5 Missing compiler required member 'System.Runtime....
4
votes
1
answer
523
views
ImageResizer: Delete cached image (Diskcache and SqlReader)
Using ImageResizer to resize user-uploaded files on the fly.
When a file is deleted in the database (row deleted), both the original and the resized versions is still accessible for some time until ...
3
votes
3
answers
3k
views
If using ImageResizer with Azure blobs do I need the AzureReader2 plugin?
I'm working on a personal project to manage users of my club, it's hosted on the free Azure package (for now at least), partly as an experiment to try out Azure. Part of creating their records is to ...
3
votes
2
answers
2k
views
ImageResizer for Azure using AzureReader2 plugin not resizing
EDIT
I got it to work however I had to add the RemoteReader plugin. When I remove the AzureReader2 plugin from my project it still works which makes sense however what is the AzureReader2 plugin ...
3
votes
3
answers
777
views
Just updated ImageResizer via NuGet, can't run app because it can't find BundleAttribute
I was just trying to update Azure Storage, but doing that meant I needed to update the ImageResizer AzureReader and update the app to use .Net 4.5.2 (the Azure site is set for .Net 4.6). Now I've got ...
3
votes
2
answers
1k
views
ImageResizer rotation issues
I rotated a few images on my computer, however, image resizer keeps using the old orientation. When I navigate to the image just using the image path, it shows up fine. However, when I add ?h=400, it'...
3
votes
3
answers
1k
views
Imageresizer.AzureReader2 doesn't work with latest Azure SDK 2.1.0.3
I have an ASP.NET MVC 5 application and I've upgraded to the latest SDK 2.1.0.3 and it seems as though ImageResizer has blown up. Are there any work arounds? Here is the details:
=== Pre-bind state ...
3
votes
1
answer
2k
views
Correct way to cache images in MVC app
I am using the ImageResizing library, to resize and deliver my image in my C# Mvc application.
One thing that isn't happening though is my image aren't getting cached.
I am struggling to understand ...
3
votes
2
answers
2k
views
ImageResizer rotates images
I use ImageResizer in my web application. It resizes most of the images on the page correctly. But there is one set of images, that it rotates. The code is the same for all the images.
See the ...
3
votes
1
answer
379
views
Can we speed up or prevent the need for AuthorizeRequest for image requests using imageresizer?
I've just set-up newrelic on an azure cloud service and now sifting through the logs to make any improvements.
For the imageresizer requests, I'm noticing a significant amount of time in ...
3
votes
2
answers
341
views
How can I properly set the cache directory for ImageResizer on an Azure WebRole?
ImageResizer's DiskCache plugin works fine locally, but when I deploy the WebRole to Azure the deployment partition is too small to cache a meaningful amount of files.
Specifically, the WebRole ...
3
votes
1
answer
1k
views
Using asp.net ImageResizer api
I'm using ImageResizer (imageresizing.net) and I'm able to create resized images:
public void DoMagic(string original)
{
string newImage = Server.MapPath("~/Images/test.png");
ResizeSettings ...
3
votes
1
answer
1k
views
ImageResizer and image files without an extension
I've been using ImageResizer.net just fine in our web app, but now I need it to resize and serve images that don't (and cannot) have a file extension, like this one:
http://localhost:58306/...
3
votes
1
answer
4k
views
Azure Function - Resize image stored in a blob container
I've answered this question related to Azure Webjob and Resizing a image stored as a blob and so I am trying to do the same using a Function App
Each time a new blob is uploaded, I send a a new queue ...
3
votes
1
answer
117
views
How can I limit the number of image files created by ImageResizer app?
We're about to start using ImageResizer (http://imageresizing.net/) and we're using the DiskCache plugin. We have a concern that it would be very easy to create millions of files and cause problems ...
3
votes
1
answer
520
views
ImageResizer not working after deployment to IIS7.5 integrated mode, ashx style url works
I'm using ImageResize.net in an MVC3 site.
It works correctly on my dev machine (using iis7.5 integrated mode) and does not require the use of ashx extension for resized images.
I've deployed to ...
3
votes
1
answer
358
views
PSD file not resizing properly
I am trying to bulk resize PSD images into jpg using http://imageresizing.net/
The PSD images are not getting converted properly.
Help
I have added reference to psdcomposer & freeImage
and ...
3
votes
1
answer
1k
views
ImageResizer/System.Drawing and CMYK JPEGs
I'm doing some simple image resizing and rotation in an ASP.NET MVC 4 project, using the ImageResizer library. The problem is that when I use it to process 32-bpp CMYK JPEG files, it fails with an ...
2
votes
4
answers
16k
views
Resizing image proportionally in ASP.NET C# by specifying either Height or Width
I need a code that will allow me to resize images, but with the following functionality:
1) resize image upon upload
2) Resize image proportionally by specifying either height or width.
Note:
...
2
votes
1
answer
4k
views
ImageResizer 'Use .Build(new Image Job(source, dest, settings, dispose Source, add FileExtension)).Final Path instead'
I'm using imageresizer, it works very well at run time:
foreach (string fileKey in Request.Files.Keys)
{
//Skip unused file controls.
var file = Request....
2
votes
2
answers
789
views
ImageResizer : FastScaling plugin error
I have this error, when I added the library 'ImageResizer.Plugins.FastScaling.DLL'
Error Message Analyzer: Could not load file or assembly 'ImageResizer.Plugins.FastScaling.DLL' or one of its ...
2
votes
3
answers
2k
views
Image Resizer issue with Azure Functions
I've been following a tutorial on how to resize images using ImageResizer listening to blob storage triggers in Azure Functions. However, i'm getting the following error message:
error CS0246: The ...
2
votes
2
answers
1k
views
How do I make ImageResizer ignore ASP.NET Forms Authentication rules?
We're building a web application that is secured using Forms Authentication. On a certain page, we have a list of thumbnails. These thumbnails are generated with ImageResizer like this:
<img src="/...
2
votes
2
answers
1k
views
Why does ImageResizer always resize my image to 900 width?
I'm using ImageResizer, I nuget the core and webconfig packages and did not change any settings and I simply have this line of code,
ImageBuilder.Current.Build(file, name, new ResizeSettings("...
2
votes
2
answers
435
views
Return Model but it's null
I'm using Imageresizer and uploading a photo. I want to get the URL that I receive and return it to my View. I have the URL that I want, but I can't return it further... This is my code at the moment:
...
2
votes
1
answer
437
views
Image Resizer User.Identity in eventhandler
Added an AuthorizeImage eventhandler to image access restriction. Noticed the following when i was trying to check the users name and authenticationstatus:
Below will not result in exception, but ...
2
votes
1
answer
551
views
Using ImageResizer to resize PDF sometimes leads to exception which does not resolve until restart application pool
We're using ImageResizer (imageresizing.net) to generate thumbnails of the front page of PDFs. It works great (as does pretty much everything else to do with ImageResizer) except for the following ...
2
votes
1
answer
360
views
High CPU with ImageResizer DiskCache plugin
We are noticing occasional periods of high CPU on a web server that happens to use ImageResizer. Here are the surprising results of a trace performed with NewRelic's thread profiler during such a ...
2
votes
1
answer
649
views
ImageResizer AzureReader2 Plugin - 404 response to resize request
After many years of using ImageResizer with the Disk Cache plugin on a dedicated server we are gradually migrating our websites to Microsoft Azure. Unfortunately I'm having problems with the ...
2
votes
2
answers
660
views
Receive 400 Bad Request from Image Resizer request in Azure
ImageResizer is running as an Azure virtual application (after ImageResizer hotfix). This runs fine in Azure emulation but is having problems in Azure cloud. Image Resizer is working fine if no ...
2
votes
2
answers
820
views
ImageResizer.Net AzureReader2 Plugin not working
I am using the ImageResizer.NET library to read images from the Azure Blob Storage and resize them.
For that I needed to install AzureReader2 plugin and configure it in the web.config file.
I have ...
2
votes
3
answers
2k
views
ImageResizer - Error converting PSD file - System.ArgumentException: Parameter is not valid
I have a system where i upload single files to the webserver. Once uploaded i trigger a command to generate different sizes of the files.
The files uploaded are PSD and should be converted into pngs ...