Hi,
For lack of better names, let me just call it "Powerpoint" effect, because what I want is exactly what Powerpoint is doing -- text shadowing.
I want to feed a script with a text file, and the script will generate a transparent-background image with the text converted to images, with the given font, size and color. The trick, ie, what I mean by "Powerpoint" effect, is that the text are added with typical drop shadow that's offset to the bottom right.
The idea is the same as
Hard Shadow
http://www.imagemagick.org/Usage/fonts/#hard_shadow
But instead of draw the specific text twice manually, I want the script to do it. And also, instead of that the prominent hard shadow, I hope the script can figure out what is "just enough" shadow for the given font size, just like what Powerpoint is doing.
Thanks
"Powerpoint" effect
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: "Powerpoint" effect
see -shadow at http://www.imagemagick.org/Usage/blur/#shadow and the subsequent sections. Just use text on a transparent background and then use -shadow. Also see http://www.imagemagick.org/script/comma ... d42#shadow. You will have to set the amount of shadow or program some values depending upon the font size in your script.
Re: "Powerpoint" effect
Oh, didn't occur to me that -shadow can work for text as well.
Thanks for the swift reply Fred.
Merry Christmas and
Happy New Year
Thanks for the swift reply Fred.
Merry Christmas and
Happy New Year
- anthony
- Posts: 8883
- Joined: 2004-05-31T19:27:03-07:00
- Authentication code: 8675308
- Location: Brisbane, Australia
Re: "Powerpoint" effect
Also see the more direct example of Shadowed Text
IM Examples Compound Text
http://www.imagemagick.org/Usage/fonts/
Ther are quite a few different methods of shadowing, from hard, 3d, soft or fuzzy, distance blurred, etc.
IM Examples Compound Text
http://www.imagemagick.org/Usage/fonts/
Ther are quite a few different methods of shadowing, from hard, 3d, soft or fuzzy, distance blurred, etc.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
https://imagemagick.org/Usage/