Search found 23847 matches

by fmw42
2018-10-10T18:25:45-07:00
Forum: Users
Topic: Need to randomley ShearRotateImage in Folder
Replies: 17
Views: 599

Re: Need to randomley ShearRotateImage in Folder

this is the error I get now after i cd the directory magick: unable to open image 'image.jpg': No such file or directory @ error/blob.c/OpenBlob/3489. the files are formatted as "yyyy-mm-dd-hh-mm-ss.jpg" Post your exact command line with an actual file name, so I can see what you may have mistyped
by fmw42
2018-10-10T12:36:02-07:00
Forum: Users
Topic: Need to randomley ShearRotateImage in Folder
Replies: 17
Views: 599

Re: Need to randomley ShearRotateImage in Folder

Cd to the directory where you have your input and try it there magick image.jpg -alpha on -background none -shear "%[fx:10*(-1+2*rand())]x0" image.png Does that work? What exact version of IM 7? magick -version If you file path actually has \ then use your actual file path but put double quotes abou...
by fmw42
2018-10-10T10:39:40-07:00
Forum: Users
Topic: Need to randomley ShearRotateImage in Folder
Replies: 17
Views: 599

Re: Need to randomley ShearRotateImage in Folder

Filenames with spaces need to be put in double quotes. You are also mixing \ and /. For Unix, only use /

Code: Select all

magick "/Users/username/Desktop/MM10918/ copy /image.jpg" -alpha on -background none -shear "%[fx:10*(-1+2*rand())]x0" image.jpg
Or do I misunderstand your \ copy /
by fmw42
2018-10-10T10:37:36-07:00
Forum: Users
Topic: Need to randomley ShearRotateImage in Folder
Replies: 17
Views: 599

Re: Need to randomley ShearRotateImage in Folder

What is your IM version and Platform/OS? If a Unix system, I can help with the script loop. If on Windows, then someone else would have to help.
by fmw42
2018-10-10T10:02:29-07:00
Forum: Users
Topic: Need to randomley ShearRotateImage in Folder
Replies: 17
Views: 599

Re: Need to randomley ShearRotateImage in Folder

Your syntax is bad. You are mixing command line and API code. Also you cannot use wild cards for both input an output. You should use magick mogrify to process a folder of images. But mogrify is old technology and does not allow inline computations. So you will likely need to write a script loop ove...
by fmw42
2018-10-10T09:54:04-07:00
Forum: Users
Topic: Tiff comparison failure
Replies: 11
Views: 485

Re: Tiff comparison failure

Imagemagick can process multi-page TIFFs, but not layered tiffs. Can you post two tiffs for us to test if multilayer or multipage? If the latter, then one can compare them likely using -layers composite. But I would have to test that. Otherwise as snibgo said, you would need to separate pages and co...
by fmw42
2018-10-10T09:48:36-07:00
Forum: Users
Topic: Compare multipage tiff
Replies: 12
Views: 9282

Re: Compare multipage tiff

vinayzz wrote:
2018-10-10T02:57:11-07:00
Any Update on the solution here?
This is an old post and a solution was given.

Please elaborate on your specific issue with examples and code. Or open a new topic.
by fmw42
2018-10-09T23:01:48-07:00
Forum: Users
Topic: Unwanted gaps between combined PNG images
Replies: 15
Views: 486

Re: Unwanted gaps between combined PNG images

Please, always provide your IM version and platform when asking questions, since syntax may differ. Also provide your exact command line and your images, if possible. See the top-most post in this forum "IMPORTANT: Please Read This FIRST Before Posting" at http://www.imagemagick.org/discourse-server...
by fmw42
2018-10-09T18:17:33-07:00
Forum: Users
Topic: How to stretch an image non-linearly in one dimension (à la Gopro Superview)
Replies: 12
Views: 1796

Re: How to stretch an image non-linearly in one dimension (à la Gopro Superview)

I believe I have the script fixed, now. Download it again and let me know if you still have issues.
by fmw42
2018-10-09T18:05:13-07:00
Forum: Bugs
Topic: potential bug -alpha off ... -alpha on IM 7
Replies: 3
Views: 206

Re: potential bug -alpha off ... -alpha on IM 7

snibgo wrote:
2018-10-09T16:48:25-07:00
Perhaps in v7, "-alpha Deactivate" and "-alpha Activate" do what "off" and "on" did in v6.
Yes, that works. Thanks, snibgo.

This needs to be documented in the Porting doc page. I do not see -alpha activate/deactivate listed there.
by fmw42
2018-10-09T13:43:30-07:00
Forum: Users
Topic: How to stretch an image non-linearly in one dimension (à la Gopro Superview)
Replies: 12
Views: 1796

Re: How to stretch an image non-linearly in one dimension (à la Gopro Superview)

I am now getting your same error. So something has changed in IM. I will look into it and get back with a fix.
by fmw42
2018-10-09T10:25:35-07:00
Forum: Developers
Topic: Need to remove memory usage limit
Replies: 4
Views: 297

Re: Need to remove memory usage limit

There are several possible locations for the policy.xml file. Are you sure you only have one and did you edit it correctly and perhaps restart. You can try commenting out that policy line. See https://imagemagick.org/script/resources.php for the possible locations and priority. I am assuming that th...
by fmw42
2018-10-09T09:58:55-07:00
Forum: Users
Topic: Identifying whether a jpg image is blank using RUBY programming
Replies: 2
Views: 246

Re: Identifying whether a jpg image is blank using RUBY programming

Post an example image to some free hosting service such as dropbox.com that won't change the format. Then put the URL here.

My guess is that you need to do some noise filtering, such as from -morphology close.
by fmw42
2018-10-09T09:30:42-07:00
Forum: Users
Topic: changing the whole color of a png icon preserving the edges alpha
Replies: 16
Views: 593

Re: changing the whole color of a png icon preserving the edges alpha

Use sparse-color to make a two point gradient. See https://imagemagick.org/Usage/canvas/#t ... _gradients

Code: Select all

magick icon.png -channel RGB -sparse-color barycentric '0,0 blue 0,%h red' -alpha on icon2.png
by fmw42
2018-10-09T09:24:28-07:00
Forum: Fred's Scripts
Topic: Temp error with BCMATCH
Replies: 5
Views: 452

Re: Temp error with BCMATCH

Perhaps I misunderstand. But I do not see the issue you point out. The result looks about as good as I would expect.