Search found 25563 matches

by fmw42
2019-09-29T11:43:57-07:00
Forum: Users
Topic: Mask create grey image
Replies: 1
Views: 5292

Re: Mask create grey image

You can do that as follows by anti-aliasing the mask with some blurring. This is Unix syntax. You did not identify your platform. convert kitty.png \ \( heart.png -alpha extract -negate -blur 0x1 -level 50x100% \) \ -alpha off -gravity center -compose copy_opacity -composite \ kitty_masked.png Incre...
by fmw42
2019-09-29T11:14:43-07:00
Forum: Users
Topic: How to create drop shadow on resized image with an extension?
Replies: 20
Views: 24974

Re: How to create drop shadow on resized image with an extension?

The issue is that there is padding from the shadow process at the top and left that I did not realize happened and it varies depending upon the shadow arguments. This is a guess at what to do based upon some tests with your image. Note I remove one extra line of commands that was redundant. I have l...
by fmw42
2019-09-28T23:45:44-07:00
Forum: Users
Topic: How to create drop shadow on resized image with an extension?
Replies: 20
Views: 24974

Re: How to create drop shadow on resized image with an extension?

You have to adjust the computations of the offsets for the size of the input image. # get the dimension of the input convert 4x5.jpg -format "%wx%h" info: 1024x820 <-- landscape # use the dimensions with size 88 to compute the resized dimensions and then the offsets new width = 88 new heig...
by fmw42
2019-09-28T23:13:36-07:00
Forum: Users
Topic: How to create drop shadow on resized image with an extension?
Replies: 20
Views: 24974

Re: How to create drop shadow on resized image with an extension?

My method should work for any image. You just have to compute the offsets as I did with one exception. You have to test whether the input image is portrait (taller than wide) or landscape (wider than tall), because the larger dimension will end up 88 and the smaller dimension will have to be compute...
by fmw42
2019-09-28T19:18:13-07:00
Forum: Users
Topic: OSX - display: delegate library support not built-in '' (X11)
Replies: 8
Views: 21418

Re: OSX - display: delegate library support not built-in '' (X11)

Did you install Xcode Tools?

Did you launch XQuartz before you did your display. It has to be started. ImageMagick display will not automatically start it.
by fmw42
2019-09-28T18:11:00-07:00
Forum: Users
Topic: OSX - display: delegate library support not built-in '' (X11)
Replies: 8
Views: 21418

Re: OSX - display: delegate library support not built-in '' (X11)

What do you get from

Code: Select all

magick -version
Did you

Code: Select all

export DISPLAY=:0
as mentioned at https://imagemagick.org/script/download.php#macosx along with the other instructions.

Add that to your .profile or .bash_profile.

Does it work then?
by fmw42
2019-09-28T15:55:21-07:00
Forum: Users
Topic: How to create drop shadow on resized image with an extension?
Replies: 20
Views: 24974

Re: How to create drop shadow on resized image with an extension?

My mistake. Replace 6 with 5 and 21 with 20, since indexing starts at 0 not 1. (5 is the sixth pixel from 0, 20 is the twenty first pixel from 0)
by fmw42
2019-09-28T13:40:12-07:00
Forum: Users
Topic: How to create drop shadow on resized image with an extension?
Replies: 20
Views: 24974

Re: How to create drop shadow on resized image with an extension?

Off by how much. Did you check by computations for any errors? It should only be off by a fraction of a pixel unless I made an error in my computations of the new height and/or yoffset.
by fmw42
2019-09-28T13:38:10-07:00
Forum: Users
Topic: Resize & Rename multiple images in multiple sizes(complicated)
Replies: 1
Views: 5304

Re: Resize & Rename multiple images in multiple sizes(complicated)

This requires scripting, which is OS dependent. And you have not identified either your ImageMagick version of platform/OS!

If you are willing to pay for help, post in the Consulting forum.
by fmw42
2019-09-28T11:46:57-07:00
Forum: Users
Topic: How to create drop shadow on resized image with an extension?
Replies: 20
Views: 24974

Re: How to create drop shadow on resized image with an extension?

Composite your shadowed image with top left offset by computing the different in sizes between your resized rose image size and the background size of 100x100, ignoring the shadow. new width = 88 new height by proportion = 88*46/70 = 57.8 xoffset = (100-88)/2 = 6 yoffset = (100-58)/2 = 21 convert ro...
by fmw42
2019-09-28T10:32:39-07:00
Forum: Users
Topic: How to create drop shadow on resized image with an extension?
Replies: 20
Views: 24974

Re: How to create drop shadow on resized image with an extension?

It is centered when you consider how far the shadow extends down and to the right. It is further than you can see as it fades away. You can see that by the following where I have listed out the size before you extent it and put a green border around it before you extent it. convert rose: -resize 88x...
by fmw42
2019-09-27T16:08:22-07:00
Forum: Developers
Topic: Problem with IM and Ghostscrip
Replies: 1
Views: 61828

Re: Problem with IM and Ghostscrip

What is your current version of ImageMagick and platform/OS? What is your current version of Ghostscript? What was your exact command line? Please post your PDF file. I note that I have heard reports of issues with both GS 9.26 and 9.27. I do not have any way to confirm them. But GS 9.23, 9.24, and ...
by fmw42
2019-09-27T09:57:10-07:00
Forum: Users
Topic: Large 1bit Tiffs take forever
Replies: 26
Views: 178483

Re: Large 1bit Tiffs take forever

-depth 1 will only help when writing the output, not while doing the rotation. If you cannot tune the policy.xml file to get adequate speed, you might consider other tools such as VIPS, but I have not experience with it.
by fmw42
2019-09-26T14:37:41-07:00
Forum: Users
Topic: grayscale PDF to diffusion dithered bitmap
Replies: 7
Views: 8644

Re: grayscale PDF to diffusion dithered bitmap

I can get something similar by extracting a tiff from your PDF file. I used pdfimages, which you can get from the poplar tools. See https://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=3&cad=rja&uact=8&ved=2ahUKEwiV_OuFue_kAhWoJzQIHdrmCncQFjACegQIDBAG&url...
by fmw42
2019-09-26T14:05:42-07:00
Forum: Bugs
Topic: JPG file failed to convert with new version of Image Magick
Replies: 29
Views: 210534

Re: JPG file failed to convert with new version of Image Magick

1.jpg converts to another JPG fine for me. I get a message about the bad tmp profile, but the output is created.

No message is presented by adding -quiet before the input.

Code: Select all

convert -quiet 1.jpg x.jpg
or

Code: Select all

magick -quiet 1.jpg x.jpg
Using IM 6.9.10.65 Q16 and IM 7.0.8.65 Q16 Mac OSX