Search found 660 matches

by GeeMack
2019-01-18T09:54:46-07:00
Forum: Bugs
Topic: IM7.0.8-24 - Invalid argument for option '-transparent-color'
Replies: 1
Views: 85

IM7.0.8-24 - Invalid argument for option '-transparent-color'

Using ImageMagick 7.0.8-24 Q16 x64 HDRI on Windows 10. When running this command... magick logo: -transparent-color black info: I get this error... magick: invalid argument for option '-transparent-color' 'black' at CLI arg 2 @error/operation.c/CLISettingOptionInfo/1469. This occurs when using any c...
by GeeMack
2019-01-15T12:40:02-07:00
Forum: Users
Topic: page count of a pdf file
Replies: 5
Views: 6463

Re: page count of a pdf file

ddodson001 wrote:
2019-01-15T09:36:47-07:00
Any idea how I get this to return just '16'?
Try something like this...

Code: Select all

convert document.pdf -set option:totpages %[n] -delete 1--1 -format "%[totpages]\n" info:
by GeeMack
2019-01-14T14:14:34-07:00
Forum: Users
Topic: Remove grey background and turn it transparent
Replies: 6
Views: 376

Re: Remove grey background and turn it transparent

Using IM 7.0.8-23 Q16 x64 HDRI on Windows 10 and the sample PNG image linked in the OP, and using these commands... magick convert JnNBtpX.png -fuzz 50% -transparent "#c0c0c0" 0.png magick JnNBtpX.png -fuzz 50% -transparent #c0c0c0 x2.png ... the results appear completely black when viewed with Irfa...
by GeeMack
2019-01-05T12:53:56-07:00
Forum: Users
Topic: Crop one image, montage with another
Replies: 4
Views: 520

Re: Crop one image, montage with another

Need to remove 300x80 pxl part in the middle of 1.jpg and replace it with the middle part of 2.jpg The solution offered above by fmw42 is about as simple as it gets. Here's an example of the same concept arranged in a slightly different order... convert 2.jpg -gravity center -crop 300x80+0+0 1.jpg ...
by GeeMack
2018-12-21T18:19:04-07:00
Forum: Users
Topic: non-linear scaling
Replies: 3
Views: 1436

Re: non-linear scaling

Thus far I have been going the route of displacement maps using simple gradient but that squeezes the image from both ends - not in one direction. If any one could lead me in the right direction it would be appreciated. There was a discussion on that issue just a couple months ago. You may find som...
by GeeMack
2018-12-19T08:08:22-07:00
Forum: Bugs
Topic: IM 7.0.8-16 - Problem with mpr: index numbers
Replies: 3
Views: 1341

Re: IM 7.0.8-16 - Problem with mpr: index numbers

This issue appears to be resolved with version 7.0.8-17. Thanks!
by GeeMack
2018-12-16T16:59:27-07:00
Forum: Users
Topic: Patterning an image?
Replies: 2
Views: 1873

Re: Patterning an image?

Currently I'm having issues trying to to use a sample/pattern of the top left 100x100 pixels to pattern across the rest of the image. Using ImageMagick 7 you should be able to do that in a single command that would look something like this... magick input.png -crop 100x100+0+0 \ -set option:distort...
by GeeMack
2018-12-13T18:54:34-07:00
Forum: Bugs
Topic: JPG file failed to convert with new version of Image Magick
Replies: 11
Views: 2938

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

I get the same error described in the OP using ImageMagick 7.0.8-16 Q16 x64 HDRI on Windows 10.
by GeeMack
2018-12-13T18:23:36-07:00
Forum: Bugs
Topic: IM 7.0.8-16 - Problem with mpr: index numbers
Replies: 3
Views: 1341

IM 7.0.8-16 - Problem with mpr: index numbers

Using ImageMagick 7.0.8-16 Q16 x64 HDRI on Windows. There seems to be a problem accessing an "mpr:" memory register by index number. When running this command... magick -size 32x32 xc:red xc:lime xc:blue -write mpr:test -delete 0--1 mpr:test[0] out.png ... the output should be a single red square re...
by GeeMack
2018-12-13T11:35:52-07:00
Forum: Users
Topic: Excel VBA Clipboard issue
Replies: 10
Views: 3156

Re: Excel VBA Clipboard issue

But what does the error mean? Why is imagemagick not working with the clipboard correctly in this environment? Just for consideration with Windows clipboard issues, and most likely unrelated to this, but there is a problem with the way current versions of IM handle the Windows clipboard with gray c...
by GeeMack
2018-12-04T08:41:13-07:00
Forum: Users
Topic: [PARTIALLY SOLVED] Region problem
Replies: 4
Views: 2071

Re: Region problem

What I want to ultimately achieve is to pixelize faces in an image. The "-region" setting doesn't work for some things like resizing a specified area. For what you describe you might try something like this... magick input.png ^ ( +clone -alpha set -background none -resize 10% -scale 1000% -crop 30...
by GeeMack
2018-12-04T08:15:52-07:00
Forum: Users
Topic: how do I make a multi resolution .ico file?
Replies: 1
Views: 1285

Re: how do I make a multi resolution .ico file?

I have used the Studio to convert a 256 pixel PNG into an ICO with transparency :) put its only 256. ICOs can (should) be multi-resolution 16, 32, 64, 128 AND 256 pixels sqaure. Try something like this... convert input.png -define icon:auto-resize="256,128,64,32,16" result.ico If you're using Image...
by GeeMack
2018-11-27T10:08:26-07:00
Forum: Bugs
Topic: +quality always throws InvalidArgument error
Replies: 7
Views: 2161

Re: +quality always throws InvalidArgument error

Why do you think "+quality" is a valid IM option? Is it documented somewhere? I don't know anything about a "+quality" option, but it does show in the list from this command... convert -list command It shows up in the list from several versions as recently as 7.0.8-14. I've tried various commands, ...
by GeeMack
2018-11-18T20:03:16-07:00
Forum: Bugs
Topic: -format "%@" reports a 20 digit long trim width
Replies: 9
Views: 2612

Re: -format "%@" reports a 20 digit long trim width

I can reproduce this issue with versions 6.9.10-11 Q16 x64 HDRI and 7.0.8-14 Q16 x64 HDRI on Windows 10.
by GeeMack
2018-11-16T08:06:57-07:00
Forum: Users
Topic: crop image only in height
Replies: 6
Views: 1915

Re: crop image only in height

here the series of command I do: convert original-1.png -trim original-1-trimmed.png convert original-1-trimmed.png -gravity South -crop 2910x3312+0+0 +repage original-1-cropped-top.png When you "-trim" an image it will remember the original page dimensions, then when you crop the image it uses tho...