ExifTool Forum

ExifTool => Developers => Topic started by: rkalla on August 14, 2011, 01:05:30 PM

Title: Is it possible to use -stay_open, -fast and piping from stdin together?
Post by: rkalla on August 14, 2011, 01:05:30 PM
I am curious if it is possible to use the benefits of -stay_open, -fast and piping (http://"https://exiftool.org/exiftool_pod.html#piping_examples") all together?

It seems at first glance that the answer is "no" because of the terminating "-execute\n" needed after the image name or data when stay_open is used, in which case you'd have to stream the entire image contents before appending -execute.

I am also unsure if exiftool even supports piping when used in combination with stay_open in general, so this might be a moot point.

Any pointers would be appreciated.
Title: Re: Is it possible to use -stay_open, -fast and piping from stdin together?
Post by: Phil Harvey on August 14, 2011, 02:06:45 PM
Piping image data is not really compatible with the -stay_open option -- see this thread (https://exiftool.org/forum/index.php/topic,3098).

But the -fast option is compatible with -stay_open.

- Phil