How can I port this Photoshop Text Emboss and Bevel to ImageMagick

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
Larsenv
Posts: 10
Joined: 2016-05-15T08:49:00-07:00
Authentication code: 1151

How can I port this Photoshop Text Emboss and Bevel to ImageMagick

Post by Larsenv »

Hi, I'm using a Mac with ImageMagick 6.9.1-10 and I want to port this Photoshop text emboss and bevel with these settings to ImageMagick.

Image

Image

Is this something I can possibly do?

Thanks.

:)
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: How can I port this Photoshop Text Emboss and Bevel to ImageMagick

Post by fmw42 »

Closest I can suggest is my script, bevel, at the link below.

Or something like:

Code: Select all

convert -background black -fill white -pointsize 96 -font arial \
label:"Super Mario World" -bordercolor black -border 10 -alpha off \
\( -clone 0 -morphology erode octagon:1 -negate \) \
\( -clone 0 -morphology dilate octagon:2 -shade 135x60 \) \
-reverse -compose multiply -composite text_bevel.png
Image
Larsenv
Posts: 10
Joined: 2016-05-15T08:49:00-07:00
Authentication code: 1151

Re: How can I port this Photoshop Text Emboss and Bevel to ImageMagick

Post by Larsenv »

Thanks, but how can I remove the background?
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: How can I port this Photoshop Text Emboss and Bevel to ImageMagick

Post by fmw42 »

Your image still has the background, so I did not put that in.

Code: Select all

convert -background black -fill white -pointsize 96 -font arial \
label:"Super Mario World" -bordercolor black -border 10 -alpha off \
\( -clone 0 -morphology erode octagon:1 -negate \) \
\( -clone 0 -morphology dilate octagon:2 -shade 135x60 \) \
\( -clone 0-2 -reverse -compose multiply -composite \) \
\( -clone 0 -morphology dilate octagon:4 \) \
-delete 0-2 -compose over \
-alpha off -compose copy_opacity -composite text_bevel2.png
Image
Larsenv
Posts: 10
Joined: 2016-05-15T08:49:00-07:00
Authentication code: 1151

Re: How can I port this Photoshop Text Emboss and Bevel to ImageMagick

Post by Larsenv »

Thanks, but why is it giving me multiple images?

I want one only.
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: How can I port this Photoshop Text Emboss and Bevel to ImageMagick

Post by fmw42 »

I only get one image. I do not know what you are doing otherwise. Try my command above. It may have been edited to remove +write commands while you were testing it. If it still gives multiple outputs, send me each output.
Larsenv
Posts: 10
Joined: 2016-05-15T08:49:00-07:00
Authentication code: 1151

Re: How can I port this Photoshop Text Emboss and Bevel to ImageMagick

Post by Larsenv »

Oh never mind, I forgot the Composite Command.

It works fine now.

Is there any way to improve this? I don't like how the emboss takes up a lot of the black part of this picture.

http://puu.sh/pmBD4/83076316fa.png
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: How can I port this Photoshop Text Emboss and Bevel to ImageMagick

Post by fmw42 »

All I can suggest is to use a little larger pointsize or a thicker font. Note I used Arial which is not very thick.
Post Reply