.NET images read from memory and Convert Commands #986
-
Hi @dlemstra , first of all, many thanks for your AWESOME library and your continuous maintenance! Now going to my question, I want to do some convert -auto-gamma and -normalize commands on to a bunch of images but doing it by CMD with something like: $"magick convert *.png -normalize {path}" takes too long (nearly 5 seconds for 60 grayscale frames of 256x520 ) and I'm starting to think that this is caused to handling static images instead of memory-ones. So my questions are:
In case it helps, I've tried to do my own normalize filter before reaching you, it's fast (really fast) but the results aren't the same as yours...
Again, many thanks for your time! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
I don't understand what you are asking me. If you want to read a single image you can specify the bytes of the image or the name of the file (and some other methods) as an argument to the
Still not sure what you are asking?
The duration also depends on the version of ImageMagick that you are using. You are probably using a And I suspect the duration is longer because we use double precision instead. More info about the implementation can be found here: And here:
See above. |
Beta Was this translation helpful? Give feedback.
I don't understand what you are asking me. If you want to read a single image you can specify the bytes of the image or the name of the file (and some other methods) as an argument to the
MagickImage
class.Still not sure what you are asking?
The duration also depends on the version of ImageMagick that you are using. You are probably using a
Q16-HDRI
version on the comman…