Page 1 of 1

3D Effects ?

Posted: 2019-03-20T21:25:37-07:00
by GlennIM
I'm trying to convert some of the 3-D logos on https://www.imagemagick.org/Usage/advanced/#3d-logos to C# and don't have a clue how to write the code.

Either one of 2 sets of code...

Code: Select all

  convert logo.png  -alpha extract -blur 0x6  -shade 110x30  -normalize \
          logo.png  -compose Overlay -composite \
          logo.png  -alpha on  -compose Dst_In  -composite \
          logo_3D.png

or

  convert logo_3D.png \( +clone -background navy -shadow 80x4+6+6 \) +swap \
          -background none  -layers merge +repage logo_3D_shadowed.png
Has anyone converted this .C# that I can copy? Can these be written to .JPG format instead of .PNG ?

Thanks