Page 2 of 2

Re: How to apply shadow to all side of image

Posted: 2016-06-01T09:15:56-07:00
by durga1208
Thank you. Shadow working fine.

Is there any way to preview image before writing to disk. Also, can we make MagickImageCollection class as serializable so that we can store collection and use instead of reading pdf every request.

Re: How to apply shadow to all side of image

Posted: 2016-06-12T10:04:15-07:00
by durga1208
+-shadow.Shadow(0, 0, 5, (Percentage)90, backgroundColor); // -background black -shadow 100x5+0+0

taking approximately 28 Seconds. It is too high can you please help us to reduce time.

Re: How to apply shadow to all side of image

Posted: 2016-06-13T12:34:36-07:00
by dlemstra
Are you working on a really huge image? It makes no sense that this operation takes 28 seconds.

Re: How to apply shadow to all side of image

Posted: 2016-06-14T07:28:17-07:00
by durga1208
No..am using same pdf which shared in previously.

Re: How to apply shadow to all side of image

Posted: 2016-06-14T13:25:15-07:00
by dlemstra
Can you strip down your code and create an example that I can use to reproduce the problem? You can share it one something like DropBox/OneDrive.

Re: How to apply shadow to all side of image

Posted: 2016-06-14T22:26:38-07:00
by durga1208

Re: How to apply shadow to all side of image

Posted: 2016-06-18T04:13:02-07:00
by durga1208
did you get a chance to review code.

Re: How to apply shadow to all side of image

Posted: 2016-06-20T04:28:40-07:00
by durga1208
Can you please help us on shadow method.

Re: How to apply shadow to all side of image

Posted: 2016-06-20T05:46:53-07:00
by dlemstra
I am working on other things at the moment. I will get back to this topic at a later point. I don't know when that will happen.

Re: How to apply shadow to all side of image

Posted: 2016-06-24T13:55:57-07:00
by dlemstra
You are calling Shadow with a big sigma and that seems to take quite long. And you are now also using the Rotate method that is rather slow. It seems that this can only be changed if we find a way to improve the performance of Shadow and Rotate.

Re: How to apply shadow to all side of image

Posted: 2016-07-11T06:58:31-07:00
by durga1208
any improvement on shadow?

Re: How to apply shadow to all side of image

Posted: 2016-07-16T00:50:39-07:00
by durga1208
any update on shadow?