Page 1 of 1

import -crop

Posted: 2016-04-28T07:30:06-07:00
by Cazeu64
Hi !

I use this kind of command :

Code: Select all

import -display :150 -window root -crop 1000x600+50+50 ../tmp/test.png
This command lasts 150ms average. I need te decrease this duration, 50ms would be nice !

Am I doing something wrong ? Maybe the image format ? Png is too heavy ?

Thanks in advance !

Re: import -crop

Posted: 2016-04-28T10:00:21-07:00
by magick
Add -screen to your command line.

Re: import -crop

Posted: 2016-04-28T23:47:35-07:00
by Cazeu64
Thanks for the answer !

What's the difference with this ?

Code: Select all

-window root
It take now 130 ms average, It's 20ms faster.

Have I to delete "-window root" from command ?