import -crop

Questions and postings pertaining to the development of ImageMagick, feature enhancements, and ImageMagick internals. ImageMagick source code and algorithms are discussed here. Usage questions which are too arcane for the normal user list should also be posted here.
Post Reply
Cazeu64
Posts: 4
Joined: 2016-03-21T03:21:23-07:00
Authentication code: 1151

import -crop

Post 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 !
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: import -crop

Post by magick »

Add -screen to your command line.
Cazeu64
Posts: 4
Joined: 2016-03-21T03:21:23-07:00
Authentication code: 1151

Re: import -crop

Post 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 ?
Post Reply