Search found 12163 matches

by snibgo
2019-10-19T12:04:17-07:00
Forum: Users
Topic: How to run program
Replies: 3
Views: 105352

Re: How to run program

You can do many things. I show a few thousand examples on my web pages. (Most examples were written for IMv6. For v7, change "convert" to "magick".)
by snibgo
2019-10-19T09:35:17-07:00
Forum: Users
Topic: How to run program
Replies: 3
Views: 105352

Re: How to run program

ImageMagick is a command-line program. In Microsoft Windows, open a "Command prompt" (also known as "console") window. At the prompt, type "magick" and press return. This should show something like this: Error: Invalid argument or not enough arguments Usage: magick tool [ {option} | {image ...
by snibgo
2019-10-18T12:45:01-07:00
Forum: Users
Topic: deskew
Replies: 6
Views: 155475

Re: deskew

jaffamuffin wrote:What am i doing wrong ?
Nothing wrong, as such. You are comparing the results from (a) contrast-stretch and then crop with (b) crop and then contrast-stretch. The images in these two cases are different, so the deskew angles are also different.
by snibgo
2019-10-18T08:36:48-07:00
Forum: Magick.NET
Topic: Histogram with c# Magick.Net
Replies: 4
Views: 113274

Re: Histogram with c# Magick.Net

I'm still not sure what you are asking. A program can be written in whatever language you want that reads sliders and applies effects to images, with updates to a screen copy of the image in real time. I have done that, with C and ImageMagick (unpublished). Gimp is open source, so you can see how it ...
by snibgo
2019-10-18T08:28:16-07:00
Forum: Users
Topic: deskew
Replies: 6
Views: 155475

Re: deskew

I don't understand your points 3 and 4. Showing the actual commands would help. Pre-processing before "-deskew" usually helps, eg: magick 300_01.tif ( +clone -fuzz 10% -fill White +opaque Black -deskew 40% -set option:DESK %[deskew:angle] +delete ) -rotate %[DESK] out.png This needs IM v7. It ...
by snibgo
2019-10-18T06:29:03-07:00
Forum: Users
Topic: crop to 1000*1200 px image non homothetic
Replies: 1
Views: 86393

Re: crop to 1000*1200 px image non homothetic

I'm not sure what you mean. Perhaps: some images have the same aspect ratio as 1000:1600. but some don't. You can "-resize 1000x1600" to keep the aspect unchanged, or "-resize 1000x1600!" to make the result exactly that size. See http://www.imagemagick.org/script/command-line-processing.php#geometry ...
by snibgo
2019-10-17T20:49:30-07:00
Forum: Users
Topic: Adaptive sharpen slow - any way to speed up?
Replies: 5
Views: 144122

Re: Adaptive sharpen slow - any way to speed up?

At 8 bytes/pixel, each copy of the 5760x3589 image needs 0.165 GB. Adaptive sharpen needs two more copies, so we need 0.5 GB. @ulrichlang: What is your command, and how long does it take? Eg "magick tmpimg.jpg -adaptive-sharpen 5x1 NULL:" on my 2.4GHz laptop takes 22 seconds. Check that no temporary ...
by snibgo
2019-10-17T10:41:36-07:00
Forum: Users
Topic: Compare images and generate list of images which are not same
Replies: 4
Views: 134714

Re: Compare images and generate list of images which are not same

The inputs could be trimmed.

3. We can do things like this:

Code: Select all

f:\web\im>%IMG7%magick r1.png r2.png -metric NCC -format "%t - %[distortion]" -compare info:

r1 - 0.995078
If we ">>out.txt", the results will be appended to out.txt.
by snibgo
2019-10-17T10:24:56-07:00
Forum: Users
Topic: text list to individual images
Replies: 5
Views: 139431

Re: text list to individual images

wrote:... and turn each line of text into an individual image ...
Type "help for" at the Windows command line for a loop that reads each line of a text file.
by snibgo
2019-10-17T07:37:31-07:00
Forum: Users
Topic: Newbie needs help with "color splash" using Python
Replies: 7
Views: 137587

Re: Newbie needs help with "color splash" using Python

I don't use Python. A command line could be (Windows BAT syntax):

Code: Select all

convert ^
  colorWheel.png +write mpr:INPT ^
  -alpha Set ^
  ( +clone -fuzz 30%% -transparent Blue ) ^
  -compose DstOut -composite ^
  ( mpr:INPT -colorspace Gray ) ^
  +swap ^
  -compose Over -composite ^
  out.png
by snibgo
2019-10-17T05:25:18-07:00
Forum: Users
Topic: Newbie needs help with "color splash" using Python
Replies: 7
Views: 137587

Re: Newbie needs help with "color splash" using Python

ram wrote:my goal is to make the other pixel in gray scale color instead of transparent,...
Make a monochrome version of the input, eg with "-colorspace Gray". Compose the all_blue_colors.png over that monochrome image.
by snibgo
2019-10-17T04:55:45-07:00
Forum: Users
Topic: Newbie needs help with "color splash" using Python
Replies: 7
Views: 137587

Re: Newbie needs help with "color splash" using Python

You have omitted the parentheses ( and ).
by snibgo
2019-10-16T20:17:41-07:00
Forum: Users
Topic: How delete rows from pictures?
Replies: 2
Views: 111270

Re: How delete rows from pictures?

For the examples given, connected components would work. Turn non-white into black, with a fuzz factor eg 5% because the input is JPG. Find the largest black object. Use that as a mask to get just the object. magick dimmed02.jpg ^ ( +clone -fuzz 5% -fill Black +opaque white ^ -define "connected ...
by snibgo
2019-10-16T18:58:02-07:00
Forum: Magick++
Topic: Do the Windows binary releases contain Magick++?
Replies: 2
Views: 90273

Re: Do the Windows binary releases contain Magick++?

If I knew the answer, I'd happily tell you.

At the binary installation, there is a option for "Install development headers and libraries for C and C++". I've never tried this, and don't know if it provides whatever your build tools need.

Perhaps you can try it, and tell us if it works?
by snibgo
2019-10-16T10:19:42-07:00
Forum: Bugs
Topic: Issue with "-compose lighten" with IM 7.0.8-68
Replies: 3
Views: 105561

Re: Issue with "-compose lighten" with IM 7.0.8-68

It seems to work fine on v7.0.8-64 on Windows 8.1.