Search found 16 matches

by direction
2019-08-17T10:10:38-07:00
Forum: Developers
Topic: How to reduce number of the commands lines
Replies: 3
Views: 39532

Re: How to reduce number of the commands lines

New to imageMacgicK command lines. Have four commands, want to combine them to one command (or reduce the number as many as possible). The purpose: avoid writing too many output files to disk. What needed is the maked-final.png file convert tmp2.png -background transparent -extent 600x600 mask1.png...
by direction
2019-08-17T09:55:52-07:00
Forum: Developers
Topic: How to reduce number of the commands lines
Replies: 3
Views: 39532

Re: How to reduce number of the commands lines

The key may be:
How to change the 2nd line: composite command to convert command
by direction
2019-08-17T08:14:06-07:00
Forum: Developers
Topic: How to reduce number of the commands lines
Replies: 3
Views: 39532

How to reduce number of the commands lines

New to imageMacgicK command lines. Have four commands, want to combine them to one command (or reduce the number as many as possible). The purpose: avoid writing too many output files to disk. What needed is the maked-final.png file convert tmp2.png -background transparent -extent 600x600 mask1.png ...
by direction
2019-08-16T10:15:44-07:00
Forum: Fred's Scripts
Topic: how to have emboss and deboss effect
Replies: 10
Views: 101863

Re: how to have emboss and deboss effect

You cannot use the same code for all the images. The first line of code was only for black text on a white background. It has a negate in it. That will mess up the third image, which is already white on transparent background. The transparent white will also mess it up, since it already is white an...
by direction
2019-08-14T10:56:01-07:00
Forum: Fred's Scripts
Topic: how to have emboss and deboss effect
Replies: 10
Views: 101863

Re: how to have emboss and deboss effect

The image you provided does not have a transparent background. That is needed for that command. It also must be white on a transparent background. But the text font and size make it too narrow and won't show the effect very well. fmw42, Want to process 3 input files using the one piece of code, to ...
by direction
2019-08-13T17:37:54-07:00
Forum: Fred's Scripts
Topic: how to have emboss and deboss effect
Replies: 10
Views: 101863

Re: how to have emboss and deboss effect

fmw42 wrote: 2019-08-13T09:52:10-07:00 Your image does not show for me. Access Denied. Please post so that others can access it.
It is OK now.
by direction
2019-08-13T09:50:31-07:00
Forum: Fred's Scripts
Topic: how to have emboss and deboss effect
Replies: 10
Views: 101863

Re: how to have emboss and deboss effect

For emboss use: emboss -a 135 input2.png miff:- | convert - -background "#BEBEBE" -flatten emboss_a135.png For deboss add 180 deg: emboss -a 315 input2.png miff:- | convert - -background "#BEBEBE" -flatten emboss_a315.png fmw42, It works for the above image. However if the image...
by direction
2019-08-03T17:43:29-07:00
Forum: Developers
Topic: how to put a texture on a .png image with transparent background
Replies: 6
Views: 47949

Re: how to put a texture on a .png image with transparent background

fmw42 wrote: 2019-08-02T21:16:55-07:00 try this:

Code: Select all

convert img.png \
\( -clone 0 -alpha extract -morphology dilate diamond:1 -write mpr:alpha +delete \) \
texture.png -compose multiply -composite \
mpr:alpha -alpha off -compose copy_opacity -composite result.png
fmw42, It works. Thanks. :)
by direction
2019-08-02T18:50:10-07:00
Forum: Developers
Topic: how to put a texture on a .png image with transparent background
Replies: 6
Views: 47949

Re: how to put a texture on a .png image with transparent background

Tell us the steps you uses in PS to create it. In photoshop. I overlay two layers, push Alt button, and used the 'Mask' to get the effect. Hi fmw42, Just find another way to get the expected result, IM should be able to do it.. I used Photoshop, right click layer - layer style - bevel and emboss -o...
by direction
2019-08-02T03:24:25-07:00
Forum: Developers
Topic: how to put a texture on a .png image with transparent background
Replies: 6
Views: 47949

Re: how to put a texture on a .png image with transparent background

Try this: convert input-texture.png \ \( out2_a315.png -channel a -negate +channel \) \ \( +clone -alpha extract -negate +write mpr:alpha +delete \) \ -compose multiply -composite \ mpr:alpha -alpha off -compose over -compose copy_opacity -composite \ emboss_texture.png I tried it. below is the out...
by direction
2019-08-01T21:42:11-07:00
Forum: Developers
Topic: how to put a texture on a .png image with transparent background
Replies: 6
Views: 47949

how to put a texture on a .png image with transparent background

Input image 1: texture image http://pic53.s3-us-east-2.amazonaws.com/Others/test-emboss/input-texture.png Input image 2: .png image file which have a 'deboss' effect http://pic53.s3-us-east-2.amazonaws.com/Others/test-emboss/out2_a315.png Expected output image with transparent background, deboss eff...
by direction
2019-08-01T10:15:02-07:00
Forum: Fred's Scripts
Topic: how to have emboss and deboss effect
Replies: 10
Views: 101863

how to have emboss and deboss effect

expected below effect(both emboss and deboss) https://pic53.s3.us-east-2.amazonaws.com/Others/test-emboss/tutorial-create-a-realistic-emboss-deboss-effect-in-photoshop.jpg tried fred's 'emboss' script, but still can't get the deboss effect for the file I have below: the file I have https://pic53.s3....
by direction
2019-07-22T07:52:27-07:00
Forum: Users
Topic: How do I use ImageMagick to warp image on a baseball cap
Replies: 14
Views: 15435

Re: How do I use ImageMagick to warp image on a baseball cap

Is it there any way to create a "identity displacement map " for a certain object like baseball cat, mug,... The identity displacement map represents zero distortion. You then distort that using any software you want onto any 3D object you want (mug, baseball cap, mug, tee-shirt, or whate...
by direction
2019-07-21T12:18:37-07:00
Forum: Users
Topic: How do I use ImageMagick to warp image on a baseball cap
Replies: 14
Views: 15435

Re: How do I use ImageMagick to warp image on a baseball cap

Please don't multi-post. I have removed your other post. You want to distort an image and paint that on your object. If you can do this once with any software on any computer, you can repeat the task using just ImageMagick. The trick is to do it once using a special image called an "identity d...
by direction
2019-07-21T00:39:48-07:00
Forum: Users
Topic: How do I use ImageMagick to warp image on a baseball cap
Replies: 14
Views: 15435

Re: How do I use ImageMagick to warp image on a baseball cap

Imagemagick does not have that kind of warping capability. It is a 2D tool and you need a 3D texture mapping system. I suggest you try Photoshop 'puppet' warp. fmw42, thanks! However, trying to process it on the backend server. So I cannot use Photoshop. Just found this link: https://imagemagick.or...