Search found 11697 matches

by snibgo
2019-06-13T05:28:05-07:00
Forum: Bugs
Topic: Abort trap: 6 after upgrade to 6.9.9-40 Q16 x86_64
Replies: 4
Views: 200

Re: Abort trap: 6 after upgrade to 6.9.9-40 Q16 x86_64

Your "-trim" should be after reading the PDF, not before. (But that won't cause an abort.)

Recent Ghostscript seems to have problems. I suggest you downgrade to 9.25 or earlier.
by snibgo
2019-06-13T05:22:35-07:00
Forum: Users
Topic: Convert image colorspace to rgb from cmyk without affecting image color contrast or color values
Replies: 9
Views: 308

Re: Convert image colorspace to rgb from cmyk without affecting image color contrast or color values

Please post a link to the actual CMYK file. The critical factor is: does it have an embedded ICC profile? If it doesn't, any conversion to RGB can only be a guess, and there is no "correct" conversion.

Incidentally, I've seen that image before, with a similar "correct" issue.
by snibgo
2019-06-13T04:43:27-07:00
Forum: Magick++
Topic: Question about image comparison using Magick++
Replies: 1
Views: 175

Re: Question about image comparison using Magick++

1) How to set the "-dissimilarity-threshold" and "-metric" as the command line did? See Image.cpp. A different version of compare has metric as a parameter. -dissimilarity-threshold has no relevance in a simple compare, and it has no effect in your command. It is relevant for subimage search. If yo...
by snibgo
2019-06-13T03:56:19-07:00
Forum: Bugs
Topic: compare of identical tiffs returns all points are different
Replies: 13
Views: 442

Re: compare of identical tiffs returns all points are different

"Compare" of two input images actually compares WW*HH pixels, where WW is the largest of the two widths and HH is the largest of the two heights. If either image is less than WW*HH, virtual pixels are used. For example: magick toes.png -background red -extent 400x400 x.png magick compare -background...
by snibgo
2019-06-12T04:30:53-07:00
Forum: Users
Topic: Cut image in horizontal slices
Replies: 9
Views: 428

Re: Cut image in horizontal slices

What verson of IM, on what platform? I have Windows BAT scripts for this at Subimage rectangles . I think Fred has bash scripts for this at http://www.fmwconcepts.com/imagemagick/index.html
by snibgo
2019-06-10T06:08:34-07:00
Forum: Users
Topic: Slice image and name by row and column
Replies: 5
Views: 251

Re: Slice image and name by row and column

Is there a faster approach? Instead of "-resize", you could use "-scale" or "-sample". These are faster, and usually lower-quality for ordinary photos, but may be good enough. Next my current command doesn't realy work You increment "i" at every input file. But your required output filenames sugges...
by snibgo
2019-06-10T03:25:16-07:00
Forum: Bugs
Topic: Resize-fill exceeds max. supported dimensions
Replies: 2
Views: 150

Re: Resize-fill exceeds max. supported dimensions

What version of IM, on what platform? "-resize" generally keeps the same aspect ratio, so the result width will be 1800 times the height. What dimensions do you want in the result? If 300x200 then use "!". See http://www.imagemagick.org/script/command-line-processing.php#geometry convert ~/img.jpg -...
by snibgo
2019-06-09T08:21:40-07:00
Forum: Users
Topic: New to Imagemagick, need something to be clarified
Replies: 14
Views: 485

Re: New to Imagemagick, need something to be clarified

In your "final way", the parentheses are harmless but useless, so you can simplify:

Code: Select all

magick -size <xFinal>x<yFinal> xc:none 1.png -composite 2.png -geometry +<xOffset>+<yOffset> -composite out.png
by snibgo
2019-06-09T07:40:54-07:00
Forum: Users
Topic: New to Imagemagick, need something to be clarified
Replies: 14
Views: 485

Re: New to Imagemagick, need something to be clarified

magick composite -gravity center smile.gif rose: rose-over.png Note that is the "magick composite" command (no hyphen). Don't confuse that with the "magick" command with a "-composite" (with hyphen) operation. The syntax for "magick composite" is different to simple "magick". "magick composite" is ...
by snibgo
2019-06-09T07:31:39-07:00
Forum: Bugs
Topic: [PATCH] display command does'nt change colorspace to sRGB if needed
Replies: 4
Views: 195

Re: [PATCH] display command does'nt change colorspace to sRGB if needed

But is your screen sRGB? How does IM's Display know what colorspace your screen needs?
by snibgo
2019-06-09T04:12:15-07:00
Forum: Users
Topic: New to Imagemagick, need something to be clarified
Replies: 14
Views: 485

Re: New to Imagemagick, need something to be clarified

The offset in "-smush" should be a simple number, like 4 or -6. It could be floating-point but that will be rounded to an integer.
by snibgo
2019-06-09T04:08:23-07:00
Forum: Bugs
Topic: compare of identical tiffs returns all points are different
Replies: 13
Views: 442

Re: compare of identical tiffs returns all points are different

I'm confident the problem is that the two images in the first TIF are being compared, rather than the first image in the first TIF being compared with the first image in the second TIF. The solution is to use [0]. Compare, like the other IM utilities, accepts any number of input images, but will ope...
by snibgo
2019-06-08T16:10:07-07:00
Forum: Users
Topic: New to Imagemagick, need something to be clarified
Replies: 14
Views: 485

Re: New to Imagemagick, need something to be clarified

IM works with lists of images. Most operations ("-crop" etc) operate on all the images in the current list. Open parenthesis "(" starts a new list; close parenthesis ")" ends the list and merges resulting images into the outer list. So this will crop both images: magick convert image1.png image2.png...
by snibgo
2019-06-08T15:22:55-07:00
Forum: Users
Topic: New to Imagemagick, need something to be clarified
Replies: 14
Views: 485

Re: New to Imagemagick, need something to be clarified

magick convert -crop image1.png 1500x534+0x0 crop.png I suggest you remove "convert", because that makes your v7 IM behave like v6, which is usually not wanted. The normal sequence is: read the image, process it, and write it. Your processing is "-crop", and that needs the numbers "1500x534+0+0" to...