FIFO thumbnail
Posted: 2011-05-06T11:25:53-07:00
I'm trying to produce thumbnails in real-time. It must read input as available and flush output as frequently as possible. For example, if I'm reducing by 50%, I want one line of output every time two lines of input are read. No waiting for the entire image to load. Reduced sampling quality is acceptable.
Is there any way to do this in IM?
Ideally, convert would have an option (+thumbnail geometry filename) so that one command could produce the progress image as well as a final thumbnail:
That would read stdin, write an instant thumbnail on stdout while still reading stdin, and finally save a proper thumbnail.
Is there any way to do this in IM?
Ideally, convert would have an option (+thumbnail geometry filename) so that one command could produce the progress image as well as a final thumbnail:
Code: Select all
convert - +thumbnail "200x200>" - -thumbnail "200x200>" $THUMBNAIL