Re: two images (again)
edgar suarez kummers <[email protected]>
| Newsgroups | gmane.editors.sed.user |
|---|---|
| Message-ID | <CAJuMiSKSA7fafbofuKmXT4QkHc8qv7eHp7UxWKWQNNwTZagAoA@mail.gmail.com> |
Mister E. Gunther (I think you are german) Also, ich denke Sie sind Deutscher Yes, of course you helped me very much. I have notice that Prof. Anthony Thyssen from Australia should be part of the group. He changed on: http://www.imagemagick.org/Usage/compare/ That sentence where " | bc " was. But I'm very glad with the SED group. regards edgar 2012/3/24 <[email protected]> > Your welcome, > > I don't really have much skills, just look around. > > Did that help? > > a5' > > > > Dear Members of the SED group: > > > > Thank you very much for your interest on my questions. > > > > I'm very glad to meet you and know about your skills. > > > > regards > > > > edgar > > > > 2012/3/23 Afive Ninethreeohthree <[email protected]> > > > >> > >> > >> Did you look here: > >> > >> http://www.imagemagick.org/Usage/windows/#why > >> > >> > >> in particular this snippet: > >> > >> " > >> > >> Specialities and pitfalls > >> Quite extraordinarily for Windows programs, IM allows images to be > >> written > >> to stdout and read from stdin and thus use piping to cascade image > >> processing tasks. The operation > >> > >> > >> convert -size 128x128 xc:white gif:- | convert - test.gif > >> > >> is equivalent to > >> > >> > >> convert -size 128x128 xc:white test.gif > >> > >> In the first command of the pipe, the minus operator tells IM to write > >> the > >> image to stdout, while the minus operator in the second command of the > >> pipe > >> tells IM to read the image from stdin. This was of proceeding allows to > >> avoid the explicit use temporary files. It is especially useful if some > >> command does not offer certain operations, for example trimming: > >> > >> > >> montage -tile 2x2 -geometry 400x300+60+60 1.png 2.png 3.png 4.png > >> miff:- > >> | convert - -trim montage.png > >> > >> As a consequence of this feature, textual output is usually written to > >> stderr instead of stdout. For example: if you want to redirect the > >> textual > >> output of Compare to a text file, you would have to write > >> > >> > >> compare -metric PSNR 1.png 2.png dif_1_2.png 2>result.txt > >> > >> So you have to redirect stderr ("2>") to the text file, not stdout ("1>" > >> or just ">"). > >> > >> > >> " > >> > >> Maybe the only problem is the lack of proper redirection. (see^ directly > >> above) > >> > >> Maybe, > >> > >> a5' > >> > >> > >> > >> > >> > >> > >> ------------------------------------ > >> > >> -- > >> Yahoo! Groups Links > >> > >> > >> > >> > > > > > > -- > > edgar suarez kummers > > > > > > > ------------------------------------ > > -- > Yahoo! Groups Links > > > > -- edgar suarez kummers [Non-text portions of this message have been removed]