[magick-users] making translucent letters in a pipeline
davidtg-magick at justpickone.org
Fri May 28 06:39:21 PDT 2004
-----BEGIN PGP SIGNED MESSAGE-----
Anthony, et al --
...and then Anthony Thyssen said...
% David T-G on wrote...
% | I have, based on Anthony's 5.5.7 examples, used
% | to create an image with 'PROOF' written on it in large semi-transparent
% | letters. I can't see a way around a proof.miff temp file, though. Can
% | this be done in a pipeline with only the original and modified images
% | hitting the disk?
% As this is the second time you asked. Before the 'image sequence
Well, in relation to a different operation :-)
% operators' of IM 6 a pipline sequence was limited by any IM command that
% needed the results of two images from two seperate pipelines.
% pipeline1 >--.
% >--- pipeline3
% pipeline2 >--'
Right. I was thinking of playing with file descriptors three and up.
[Nice ASCII art, BTW; not many would think to use . and ' there :-]
% However if you use a UNXI bash shell thier was an altunative method
% And may work for you..
% using UNIX bash...
% convert miff:<(convert logo: miff:-) output.jpg
% The <(...command_pipeline )
% is a bash construct that is executed and piped into a magical
% filename which is then substitued for on the main command
% eg something like, but the command work simutaniously...
% convert logo: miff:- > magic_filename
% convert miff:magic_filename output.jpg
% The magical_filename however is not a temporary file and never needs
% any form of clean up.
Right. The problem happens when you need two or more of those along the
But specifying the command at the < point might work, and thanks to ()
instead of `` the nesting might be manageable.
Or I might just bite the bullet and work with temp files :-/ I hope to
move away from the command line and to the PHP PEAR IM class anyway
(though I haven't yet done the first bit of exploration to see what doing
% Anthony Thyssen ( System Programmer ) http://www.cit.gu.edu.au/~anthony/
Thanks again & HAND
davidtg at justpickone.org
http://justpickone.org/davidtg/ Shpx gur Pbzzhavpngvbaf Qrprapl Npg!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)
-----END PGP SIGNATURE-----
More information about the Magick-users