[magick-users] making translucent letters in a pipeline
David T-G
davidtg-magick at justpickone.org
Fri May 28 06:39:21 PDT 2004
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
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.
%
% EG:
% 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
way...
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
so entails).
%
%
% Anthony Thyssen ( System Programmer ) http://www.cit.gu.edu.au/~anthony/
Thanks again & HAND
:-D
- --
David T-G
davidtg at justpickone.org
http://justpickone.org/davidtg/ Shpx gur Pbzzhavpngvbaf Qrprapl Npg!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)
iD8DBQFAt0EJGb7uCXufRwARAtaAAKDquUTMEiGISO5wlhoE3AIc9aVIFQCgmC0g
KmW5YfHJiF13AwH2KIegtZ0=
=2E5r
-----END PGP SIGNATURE-----
More information about the Magick-users
mailing list