coreimagetool
coreimagetool copied to clipboard
Store process runs strangely slow
I've noticed that I can run the command-line utility with several filters on various hi-res images and the process will take around 100ms. However, if I add the store option (which is obviously necessary) the time takes between 1000-2000ms. This happens regardless of the image type I'm storing as. Any reason why storing the image causes a 10-20x slowdown of the entire operation? Any tips to speed up the store process would be great!
Slow storage seems to only occur when certain filters are applied - even if the resulting image is small. I'll investigate further - closing for now.
Let me know if you find something interesting...
I'll go ahead and reopen this since something strange is still happening, specifically with the CILanczosScaleTransform filter. Running that filter and then running store seems to take a couple of seconds on an image. Running other filters like CICrop seem to work almost instantaneously. Any reason you can think of that CILanczosScaleTransform would run much slower than other filters? Is that something you can reproduce?
Can you give me a repro case? A command line (and example input image) that works fast, and one that works slow?