Poor performance of convert --annotate on high resolution images
Posted: 2017-09-25T22:42:21-07:00
Hello,
I am trying to annotate a stream of very high resolution images that are typically 5000x5000px. I am finding that this operation is using up a lot of system resources and annotating a single image can take a long time. Is this expected behavior for what should be (at least in my mind) a simple operation? I am using convert --annotate.
I have tried with the IM version that is currently distributed by Ubuntu: 6.8.9-9 Q16. I have also tried compiling with Q8 as I read that this can improve performance, but I had similar performance on 7.0.7-3 Q8 as before. I also tried a workaround where I created a transparent PNG with my text on it and then used convert --composite to overlay the annotated PNG onto the large image but this took just as long and just as much system resources as using convert --annotate.
Is there a faster way to annotate the images other than using better hardware?
Thank you
I am trying to annotate a stream of very high resolution images that are typically 5000x5000px. I am finding that this operation is using up a lot of system resources and annotating a single image can take a long time. Is this expected behavior for what should be (at least in my mind) a simple operation? I am using convert --annotate.
I have tried with the IM version that is currently distributed by Ubuntu: 6.8.9-9 Q16. I have also tried compiling with Q8 as I read that this can improve performance, but I had similar performance on 7.0.7-3 Q8 as before. I also tried a workaround where I created a transparent PNG with my text on it and then used convert --composite to overlay the annotated PNG onto the large image but this took just as long and just as much system resources as using convert --annotate.
Is there a faster way to annotate the images other than using better hardware?
Thank you