Magick.NET icon indicating copy to clipboard operation
Magick.NET copied to clipboard

[Font read for non-standard formats is causing lot of file reads]

Open tariqgitspace opened this issue 1 year ago • 3 comments

Magick.NET version

13.5.0

Environment (Operating system, version and so on)

Windows Server 2019

Description

For various non-standard images formats (not jpeg and png), we are seeing a lot of file disk read for Arial Font as in below image. For our traffic, the read count is in 1000s per minute

Our use case is just converting these non-standard formats to standard formats like jpeg, png. Is it possible to disable or skip these reads? If not, is it possible to increase the default readLength to reduce number of IO operations

image

Steps to Reproduce

  1. Since, its happening for our customers in our deployment, we dont have access to customer content.
  2. Rasterize non-standard image to standard format

tariqgitspace avatar Feb 02 '24 20:02 tariqgitspace

@dlemstra : Gentle followup on this

tariqgitspace avatar Feb 06 '24 16:02 tariqgitspace

Don't send me these kind of message. It moves you to the bottom of my list of things that I will take a look at. And this was the next thing I was going to check but now you need to wait longer.

dlemstra avatar Feb 07 '24 09:02 dlemstra

Would it be possible for you to figure out how you can reproduce this? I suspect this is happening inside an external dependency but if I don't know what is doing this where I cannot check if we can tweak this.

dlemstra avatar Feb 13 '24 20:02 dlemstra

Hello, We are unable to repro issue with sample images (and we dont have access to client images). I will close the issue for now and will open back once able to repro it.

Thanks

tariqgitspace avatar Mar 09 '24 22:03 tariqgitspace