Search found 24002 matches

by fmw42
2018-11-15T20:36:24-07:00
Forum: Bugs
Topic: "Insufficient image data" error with a couple of BMPs
Replies: 2
Views: 46

Re: "Insufficient image data" error with a couple of BMPs

I get the same message with IM 6.9.10.14 Q16 Mac OSX. I can open them with Mac Preview, GraphicConverter and Photoshop.

I even tried prefacing with BMP: BMP3: and BMP2:, but that did not work, either.
by fmw42
2018-11-15T14:16:57-07:00
Forum: MagickStudio
Topic: Software Error
Replies: 3
Views: 50

Re: Software Error

I have sent a message to the ImageMagick developer about this issue.
by fmw42
2018-11-15T14:04:00-07:00
Forum: MagickStudio
Topic: Software Error
Replies: 3
Views: 50

Re: Software Error

Transloadit is no longer the official site. Try http://www.imagemagick.org/MagickStudio But that seems to have problems also.
by fmw42
2018-11-15T09:42:07-07:00
Forum: Magick.NET
Topic: I can't preview the image after I resize it
Replies: 2
Views: 28

Re: I can't preview the image after I resize it

With ImageMagick 7 command line mode, you should use just "magick" and not "magick convert"
by fmw42
2018-11-14T19:26:17-07:00
Forum: IMagick
Topic: How do I shift the hue of a black png?
Replies: 7
Views: 108

Re: How do I shift the hue of a black png?

What if the "black png" actually contains variations of blacks (#000000, #012103) and opacities (100%, 88%)?
You add -fuzz, which I believe is built into the opaquePaintImage()
by fmw42
2018-11-14T15:41:55-07:00
Forum: IMagick
Topic: How do I shift the hue of a black png?
Replies: 7
Views: 108

Re: How do I shift the hue of a black png?

Use the equivalent of -fill ... -opaque convert partitor.png -fill "rgba(19,123,229,1)" -opaque "rgba(0,0,0,1)" result.png Note that you are changing opaque colors in a transparent image. So you need to specify the colors with alpha=1 for opaque. See http://us3.php.net/manual/en/imagick.opaquepainti...
by fmw42
2018-11-14T14:27:38-07:00
Forum: IMagick
Topic: How do I shift the hue of a black png?
Replies: 7
Views: 108

Re: How do I shift the hue of a black png?

It would be helpful to have your input image to know exactly what you are trying to do. Note that black has no hue, so you cannot shift its hue. If you want to replace black with some other color you can do that. It is possible that Imagick colorizeImage does not recognize transparent colors as rgba...
by fmw42
2018-11-14T14:03:02-07:00
Forum: Users
Topic: Rotation per default not around center but NorthEast corner of image
Replies: 10
Views: 220

Re: Rotation per default not around center but NorthEast corner of image

Here is an alternate to GeeMack's excellent ImageMagick solution. This computes the center of the original input.jpg, and the center of the transparent region in the Overlay.png. Then it uses +distort SRT to translate and rotate the image before finally compositing with -layers merge. convert Overla...
by fmw42
2018-11-13T19:06:12-07:00
Forum: Users
Topic: Rotation per default not around center but NorthEast corner of image
Replies: 10
Views: 220

Re: Rotation per default not around center but NorthEast corner of image

The geometry offset you are using moves the top left corner of the rotated image after its background has been added and not the top left corner of the Input where it gets rotated. So that is why you are not getting the right result. You would be better using -gravity center and figuring out where t...
by fmw42
2018-11-13T10:31:21-07:00
Forum: Users
Topic: Can't convert image file using a bash script
Replies: 20
Views: 481

Re: Can't convert image file using a bash script

This works on my Mac: ${1%.*}

This does not work on my Mac: ${1::-4}

Unfortunately, Apple provides only older versions of bash on my 2014 Mac Mini. My bash is 3.2.57
by fmw42
2018-11-12T18:58:19-07:00
Forum: Users
Topic: Defaults or how to find MAGICK_TEMPORARY_PATH
Replies: 10
Views: 280

Re: Defaults or how to find MAGICK_TEMPORARY_PATH

If in Unix and you put MAGICK_TEMPORARY_PATH in your .profile or .bash_profile, then you can cat your profile file and parse for MAGICK_TEMPORARY_PATH. I do not know windows, so cannot help on that end.
by fmw42
2018-11-12T17:31:22-07:00
Forum: Users
Topic: Can't convert image file using a bash script
Replies: 20
Views: 481

Re: Can't convert image file using a bash script

Try using var and $var rather than VAR and $VAR. Perhaps your Unix thinks all cap variables are environment variables or bash reserved variables. Does that make a difference?
by fmw42
2018-11-12T17:27:54-07:00
Forum: Users
Topic: Can't convert image file using a bash script
Replies: 20
Views: 481

Re: Can't convert image file using a bash script

snibgo, perhaps different Unix systems have trouble with the ${1::-4} syntax. It does not work in a bash script on my Mac and give an error as I mentioned above. In my Mac terminal, the two command lines when pasted work without error, but nothing is added for the ${1::-4}.
by fmw42
2018-11-12T13:36:12-07:00
Forum: Users
Topic: Please help with the batch file
Replies: 15
Views: 298

Re: Please help with the batch file

Sorry, I am not a Windows user. But about sharpening. -sharpen RadiusxSigma or -sharpen 0x2 for example with sharpen with a Gaussian function whose sigma=2 (standard deviation). The larger the sigma the more sharpening. The radius=0 means for the function to find the optimum radius or window size fo...
by fmw42
2018-11-11T23:24:27-07:00
Forum: Users
Topic: Can't convert image file using a bash script
Replies: 20
Views: 481

Re: Can't convert image file using a bash script

That is odd. Normally, one would put quotes about the hex value xc:'#XXXXXX'. But I think that is not necessary when in the string variable you craated ($VAR), since it worked fine for me. An alternate for xc: is canvas: To get the name of the image for prefixing the output, you can create a new var...