by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Jan 31 2019 14:43
    MikaelEliasson opened #723
  • Jan 31 2019 11:02
    JimBobSquarePants commented #664
  • Jan 31 2019 10:59
    JimBobSquarePants commented #709
  • Jan 31 2019 10:59

    JimBobSquarePants on autorotate

    (compare)

  • Jan 31 2019 10:58
    JimBobSquarePants closed #709
  • Jan 31 2019 10:58

    JimBobSquarePants on develop

    Clone autorotated image. Fix #7… Merge pull request #722 from Ji… (compare)

  • Jan 31 2019 10:58
    JimBobSquarePants closed #722
  • Jan 31 2019 10:45
    JimBobSquarePants labeled #722
  • Jan 31 2019 10:45
    JimBobSquarePants opened #722
  • Jan 31 2019 10:44

    JimBobSquarePants on autorotate

    Clone autorotated image. Fix #7… (compare)

  • Jan 31 2019 10:20
    JimBobSquarePants commented #709
  • Jan 31 2019 09:54

    JimBobSquarePants on postprocessor-png-fixes

    (compare)

  • Jan 31 2019 09:52

    JimBobSquarePants on AmazonS3Cache

    (compare)

  • Jan 31 2019 09:52

    JimBobSquarePants on develop

    Cleanup and add AmazonS3Cache t… Fix build script Merge branch 'develop' into Fea… and 3 more (compare)

  • Jan 31 2019 09:52
    JimBobSquarePants closed #700
  • Jan 30 2019 17:15
    AndyFelton commented #700
  • Jan 30 2019 16:31
  • Jan 30 2019 08:27
  • Jan 29 2019 15:06
    alexsandr-sml starred JimBobSquarePants/ImageProcessor
  • Jan 29 2019 11:28
    lars-erik commented on 1a8e712
Alok Sharma
@aloksharma1
iis worker process is 32 bits so i dont think this will work
i tried your suggestion but there was nothing to change to x64 in advance or basic app pool option
looks like we will need to do a reinstall
Alok Sharma
@aloksharma1
ok i have figured it out its changed to x64 pool
Alok Sharma
@aloksharma1
also if you have any idea on iis kernel caching i am trying to improve ttfb for this site
but iis cache shows nothing for netsh command
if i use httphandler and place this files in object will this degrad performance?
or should i use a redis cache?
Alok Sharma
@aloksharma1
thanks for all the help
James Jackson-South
@JimBobSquarePants
I don’t understand what you are trying to do here
Alok Sharma
@aloksharma1
i am trying to improve TTFB as per pagespeed guidelines of google
it says that caching static files make them serve faster from server
but due to url reqrite in mvc, kernel mode caching in iis gets disabled
so if i use an in-memory cache will that be detremental for performance?
James Jackson-South
@JimBobSquarePants

What I mean is. I don't understand architecturally what you are trying to achieve and how that relates to ImageProcessor. I know nothing about your application.

What I do know is, if you are attempting to add caching to fix TTFB, you have underlying performance problems that you need to address first. Caching is a sticking plaster at best and can actually hurt scalability.

Alok Sharma
@aloksharma1
hi, sorry to bother you again
i am now trying to figure out what postprocessor does
i had a impression that it works automatically as per docs no etra cofig is required
but when i run my site through gtmetrix its still showing lots of images that can be optimized
James Jackson-South
@JimBobSquarePants
It only optimises new cached files and only if they can be optimised within a certain timespan. Optimisation has to be lossless also
Gtmetrix i likely too aggressive and like google pagespeed suggests things that require manual per-image visual comparison
ImranDoet
@ImranDoet
anyone here
flycast
@flycast
I am getting a weird duplication of pixels when using FastBitMap to access pixel values. I am trying to find a good place for help and it seems this is the place?
flycast
@flycast
Clearly the wrong place to get help....
James Jackson-South
@JimBobSquarePants
Middle of the night in Sydney.
Erik Engstrand
@erzki
We have some problems in our web application and want to upgrade from WindowsAzure.Storage 9.3.3 to Microsoft.Azure.Storage.Blob 11.1.2. The problem is that ImageProcessor.AzureBlobCache relies on WindowsAzure.Storage 9.3.3.
  • Are there any solutions to this?
  • Can we find the source code for AzureBlobCache and change it ourselves?
Hampus Bengtsson
@miniyou

Hampus here, colleague of @erzki . Just wanted to let you know that we solved our issues :ok_hand: we got confused by the dlls loading in the application, and what Erik mentioned wasn't the root cause in the end.

Hope you didn't lose any time looking into this – have a good weekend!

James Jackson-South
@JimBobSquarePants
Ah fantastic, thanks for the update!
Ivan
@inbush
Hi everyone
does it work fine on net core 3.1?
James Jackson-South
@JimBobSquarePants
No. It’s not supported on NET Core. You should use ImageSharp instead
Ivan
@inbush
thanks
cant find ImageSharp in NuGet
available via console
thanks
James Jackson-South
@JimBobSquarePants
You need to use the pre release option
cstarner
@cstarner
Does this library work with Xamarin?
jason-booth
@jason-booth
Anyone have suggestions for proper cache config settings in a scaled environment? We have three web servers all using the same VirtualCachePath (ie they are all pointing to the same shared drive location). It caches and serves images fine but we are getting sporadic app pool crashes that originate in ImageProcessor.Web.Caching.ImageCacheBase.CacheTrimmer. Sometimes the error is that a path can't be found and other times that a path is access denied. All three of the servers have the trimCache=true in cache.cofnig. I am wondering if we are basically getting conflicts where two servers try to trim cache at the same time. So, one server has deleted or is in the process of deleting a directory and then server 2 tries the same directory.
Would love to hear any thoughts. Thanks!
James Jackson-South
@JimBobSquarePants
@jason-booth Turn off the trimmer. The IO is not robust enough for multiple servers. You can cache something like 12.96 million items anyway so shouldn't be a concern.
jason-booth
@jason-booth
Can do and thanks for the quick response!
jason-booth
@jason-booth
@JimBobSquarePants Would it make sense to leave trim cache on on just one site to keep the cache size down or wold that still leave us open to issues?
James Jackson-South
@JimBobSquarePants

@jason-booth I think there's still the possibility of IO access exceptions. I would remove trimming across all for now.

If you have the opportunity though it would be great if you could raise an issue in the repository and if possible we could make it more robust.

jason-booth
@jason-booth
@JimBobSquarePants will do for sure, thanks again!
James Jackson-South
@JimBobSquarePants

@jason-booth Thanks! Happy to help!

@cstarner I've never tested the library against Xamarin and the methods I use for loading native binaries (WebP format) will not work cross platform.

xMANIGHTx
@xMANIGHTx

First of all congrats for your wonderful piece of software! I'm trying to integrate it in my custom made CMS. Since I'm on .NET Web Forms I used ImageProcessor Web instead of Image Sharp. Everything is working great.
Im trying to pass configuration settings dinamycally (in application start or maybe on each begin request). Is it possible por example to change the prefix of LocalFileImageService on the fly and not just in security.config? Or to add whitelist remote urls dynamically for RemoteImageService in the same way?

One last note the EntropyCrop is great stuff for autocropping... It would be great to have it as a resize option as well... when creating thumbnails is most common to resize them and crop them for the actual thumb format, just like it's already possible with resize mode=crop. It would be great to add entropycrop as mode so that it automatically spots the main point of interest in a picture as the crop center. This would be a winner. Take care!

xMANIGHTx
@xMANIGHTx
For anyone interested, I solved searching this chat and found a user had the same requirements for his CMS. Thanks to @JimBobSquarePants for his answer to that user, I've been able to solve with this line of code in Application Start event (Web Forms here)
ImageProcessorConfiguration.Instance.ImageServices.Item(0).Prefix = "whateveryouwant"
This allowed me to change the prefix to tell Image Processor Web that file had to be manipulated, with dynamic paths I have to invalidate client cached images like "/randomcharspath/imageprocessorprefix/imagefolder/actualimage.png" so that way I was able to add "randomcharspath/imageprocessorprefis" as a prefix for Image Processor in Application Start.
For all of us poor mortals still using Web Forms your software is godsend. Thanks again (going to support you with subscription, keep up the development!!)
James Jackson-South
@JimBobSquarePants
Glad it was all helpful for you and that you figured everything out!!