Page 1 of 1
How to apply effect like "Bevel & Emboss" in photoshop?
Posted: 2019-09-03T15:07:07-07:00
by qcchen
Re: How to apply effect like "Bevel & Emboss" in photoshop?
Posted: 2019-09-03T21:24:25-07:00
by fmw42
Re: How to apply effect like "Bevel & Emboss" in photoshop?
Posted: 2019-09-04T11:55:49-07:00
by qcchen
After trying many times, this is my result:
Command(windows):
convert src.png ^
( -clone 0 -alpha extract -shade 135x45 -auto-gamma -auto-level ) ^
-compose Overlay -composite ^
-fill none -draw "color 3,3 replace" ^
src_final.png
Nodejs:
gm().command('convert')
.in(src_file)
.in('-alpha', 'extract', '-shade', '135x45', '-auto-gamma', '-auto-level')
.in(src_file)
.in('-compose', 'Overlay', '-composite')
.in('-fill', 'none', '-draw', "color 3,3 replace")
.write(dest_file, function(er){
if (er) console.log(er);
});
Re: How to apply effect like "Bevel & Emboss" in photoshop?
Posted: 2019-09-04T12:18:14-07:00
by qcchen
This looks better:
convert src.png ^
( -clone 0 -alpha extract -shade 135x45 -auto-gamma -auto-level ) ^
( -clone 0-1 -compose Overlay -composite ) ^
( -clone 0 -alpha extract -transparent white ) ^
-delete 0-1 -compose over ^
-alpha off -compose copy_opacity -composite ^
src_t.png
Re: How to apply effect like "Bevel & Emboss" in photoshop?
Posted: 2019-09-04T15:01:34-07:00
by fmw42
Always best to include input an output images. You can post to some free hosting service and put the URLs here.