Search found 718 matches

by GeeMack
2019-01-14T14:14:34-07:00
Forum: Users
Topic: Remove grey background and turn it transparent
Replies: 6
Views: 7458

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...
by GeeMack
2019-01-05T12:53:56-07:00
Forum: Users
Topic: Crop one image, montage with another
Replies: 4
Views: 4806

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: 5054

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: 8375

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: 4717

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: 29
Views: 134607

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: 8375

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...
by GeeMack
2018-12-13T11:35:52-07:00
Forum: Users
Topic: Excel VBA Clipboard issue
Replies: 10
Views: 11757

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: 5404

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...
by GeeMack
2018-12-04T08:15:52-07:00
Forum: Users
Topic: how do I make a multi resolution .ico file?
Replies: 0
Views: 6271

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 u...
by GeeMack
2018-11-27T10:08:26-07:00
Forum: Bugs
Topic: +quality always throws InvalidArgument error
Replies: 7
Views: 11912

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 trie...
by GeeMack
2018-11-18T20:03:16-07:00
Forum: Bugs
Topic: -format "%@" reports a 20 digit long trim width
Replies: 9
Views: 12734

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: 6773

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 i...
by GeeMack
2018-11-14T11:33:18-07:00
Forum: Users
Topic: Resize-bend-resize script
Replies: 6
Views: 7649

Re: Resize-bend-resize script

darkfrei wrote: 2018-11-14T11:28:32-07:00this spritesheet with 32 elements, every sprite was shifted one pixel to the right.
Try this...

Code: Select all

magick sprite1.png -duplicate 31 -roll +%[fx:t]+0 -append +repage sprites32.png
by GeeMack
2018-11-14T10:58:52-07:00
Forum: Users
Topic: Rotation per default not around center but NorthEast corner of image
Replies: 10
Views: 9062

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

So the question is: how can i rotate Image.jpg in such a way that it is rotated around its own center, thus resulting in Image.jpg being placed correctly underneath the cutout in my final output (out.png) ? Using your examples "image.jpg" and "overlay.png", you can find the loca...