Search found 25377 matches

by fmw42
2019-09-10T16:45:36-07:00
Forum: Bugs
Topic: Regressión of conversion from TIFF to JPG
Replies: 1
Views: 75

Re: Regressión of conversion from TIFF to JPG

Your image fails to convert for me on IM 6.9.10.36, IM 6.9.10.64 and IM 7.0.8.64 (and other IM 6 versions) Q16 Mac OSX Sierra. I get convert -quiet 101872_127179.TIF 101872_127179.JPG convert: 101872_127179.TIF: Null count for "Tag 34022" (type 1, writecount -3, passcount 1). `_TIFFVSetField' @ err...
by fmw42
2019-09-10T09:15:19-07:00
Forum: Users
Topic: Counting Color and Grey Scale in a directory?
Replies: 4
Views: 149

Re: Counting Color and Grey Scale in a directory?

If all the files are PNG, which distinguishes between RGB and Gray, you can read the colorspace and/or type from the headers, I think. So the raster data would not need to be read, only the headers. This would be quicker. Other tools such as EXIFTOOL, might be faster. Snibgo would know more about al...
by fmw42
2019-09-09T14:37:19-07:00
Forum: Fred's Scripts
Topic: Multiple pipes
Replies: 2
Views: 256

Re: Multiple pipes

Comment out line 260: echo "shape=$shape; gain=$gain;" and try again. It is that echo that is causing the issue.
by fmw42
2019-09-08T18:52:55-07:00
Forum: Bugs
Topic: Possible bug IM 7.0.8.63 Q16 Mac OSX with JPG output
Replies: 6
Views: 563

Re: Possible bug IM 7.0.8.63 Q16 Mac OSX with JPG output

OK. Thanks for the clarification.
by fmw42
2019-09-08T11:53:22-07:00
Forum: Bugs
Topic: Bug converting PSD to TIF with alpha
Replies: 5
Views: 366

Re: Bug converting PSD to TIF with alpha

Adding '[0]' to your input image name returns the PSD composite image. It does not include an alpha channel. Remove the '[0]' and you get the image layer which does include the alpha channel: convert input.psd output.tif identify -verbose output.tif | grep -i Alpha: Alpha: 1-bit The output.tiff has...
by fmw42
2019-09-08T10:21:27-07:00
Forum: Bugs
Topic: Possible bug IM 7.0.8.63 Q16 Mac OSX with JPG output
Replies: 6
Views: 563

Re: Possible bug IM 7.0.8.63 Q16 Mac OSX with JPG output

Sorry, I do not understand. Why is the -type bilevel "escaping" from within the parentheses so as to affect the input tricolor image? Settings have been know to "escape" in IM 6, but is not the output color type supposed to come from the first image in the command line, which is truecolor here?
by fmw42
2019-09-07T12:56:54-07:00
Forum: Users
Topic: Change DPI while keeping resolution
Replies: 25
Views: 11089

Re: Change DPI while keeping resolution

Not that I know about. I do not know of any other software that will read either.
by fmw42
2019-09-07T10:41:29-07:00
Forum: IMagick
Topic: Error Since Update on 4th-September-2019 HELP!!!
Replies: 4
Views: 359

Re: Error Since Update on 4th-September-2019 HELP!!!

Perhaps you need to install Ghostscript or if installed, Imagick cannot find it. That can happen and the delegates.xml file may need to have the full path to gs included.
by fmw42
2019-09-06T11:29:09-07:00
Forum: Users
Topic: Change DPI while keeping resolution
Replies: 25
Views: 11089

Re: Change DPI while keeping resolution

TIFF and MIFF and MPC also support HDRI. With TIFF and MIFF, you need to add -define quantum:format=floating-point
by fmw42
2019-09-06T11:27:05-07:00
Forum: Users
Topic: Cropping multiple receipts on one scanned image
Replies: 11
Views: 570

Re: Cropping multiple receipts on one scanned image

One can also use connected components processing to remove small regions that may not be part of the text on the receipt. See https://imagemagick.org/script/connected-components.php
by fmw42
2019-09-06T11:24:45-07:00
Forum: IMagick
Topic: Error Since Update on 4th-September-2019 HELP!!!
Replies: 4
Views: 359

Re: Error Since Update on 4th-September-2019 HELP!!!

Please always provide your ImageMagick version and platform when asking questions. Also which API you are using.
by fmw42
2019-09-06T11:23:48-07:00
Forum: Digital Image Processing
Topic: Object Recognition, what is possible and fast!
Replies: 1
Views: 267

Re: Object Recognition, what is possible and fast!

You can use Deep Learning to train your data base on the fixed set of categories. Then use it to match new images. See books on Deep Learning or some forums such as https://www.pyimagesearch.com, https://www.learnopencv.com. See also OpenCV Deep learning tools. And https://opencv.org/courses/ and ht...
by fmw42
2019-09-05T23:26:53-07:00
Forum: Users
Topic: How to crop along a yellow frame
Replies: 10
Views: 933

Re: How to crop along a yellow frame

This works for me with test1 and test3. I did not check test2. I added a second color for the other color in the yellow border region that is more whitish. I also increased the fuzz value to 15% and replace -morphology close with connected components processing to remove small regions in the outside...
by fmw42
2019-09-05T19:00:14-07:00
Forum: Users
Topic: How to crop along a yellow frame
Replies: 10
Views: 933

Re: How to crop along a yellow frame

I believe the messages are saying that it has cropped the image to nothing. Your third image does not conform to the assumptions that you have a full rectangular frame about the region you want to crop. You may have to adjust the rgb color and the fuzz value to customize for each image. To trim 10 p...
by fmw42
2019-09-05T09:08:31-07:00
Forum: Users
Topic: Fill behind all translucent (but not fully transparent) pixels
Replies: 3
Views: 224

Re: Fill behind all translucent (but not fully transparent) pixels

Note that Unix syntax is different from Windows syntax in that regard.