Search found 25762 matches

by fmw42
2019-12-11T22:16:32-07:00
Forum: Users
Topic: can't estimate the jpeg quality
Replies: 1
Views: 68

Re: can't estimate the jpeg quality

Is it your camera? Does exiftool display the correct quality? Post links to your images so the developers can test with them
by fmw42
2019-12-11T13:06:33-07:00
Forum: Users
Topic: convert problem from converting cmyk separate channels image to tif
Replies: 4
Views: 165

Re: convert problem from converting cmyk separate channels image to tif

This works for me on IM 6.9.10.78 Q16 Mac OSX

Create CMYK image:

Code: Select all

convert logo: -colorspace CMYK logo_cmyk.tif
Separate Channels

Code: Select all

convert logo_cmyk.tif -separate logo_cmyk_%d.tif

Code: Select all

Reconstruct CMYK image

Code: Select all

convert logo_cmyk_*.tif -set colorspace CMYK -combine logo_cmyk_returned.tif
by fmw42
2019-12-11T12:32:18-07:00
Forum: Users
Topic: convert problem from converting cmyk separate channels image to tif
Replies: 4
Views: 165

Re: convert problem from converting cmyk separate channels image to tif

I don't fully understand your issue. Please post links to input and output examples.

Why not just change colorspaces

Code: Select all

convert test.tif -set colorspace CMYK -colorspace sRGB out.tiff
or use profiles.
by fmw42
2019-12-11T11:27:13-07:00
Forum: Users
Topic: change background white->grey
Replies: 2
Views: 118

Re: change background white->grey

It is very hard to do a good job when the clothes are similar color (in any part) to the background. Best suggestion is to use the tool at remove.bg. It is automatic and uses Deep Learning / AI. It worked perfectly with your bleeding example input.
by fmw42
2019-12-10T10:48:49-07:00
Forum: Bugs
Topic: Using IM v6 and v7 with "-set option:distort:scale"
Replies: 4
Views: 174

Re: Using IM v6 and v7 with "-set option:distort:scale"

I am now puzzled. Why does -resize work with fx:s, but -set option does not?

magick logo: wizard: rose: -resize "%[fx:s.w]x%[fx:s.h]" -format "%wx%h\n" info:
640x480
480x640
70x46

magick logo: wizard: rose: -resize "%[fx:s.w-10]\!x%[fx:s.h-10]\!" -format "%wx%h\n" info:
630x470
470x630
60x36
by fmw42
2019-12-09T23:52:53-07:00
Forum: Bugs
Topic: Using IM v6 and v7 with "-set option:distort:scale"
Replies: 4
Views: 174

Re: Using IM v6 and v7 with "-set option:distort:scale"

This does not work either:

Code: Select all

magick logo: wizard: rose: -distort SRT "%[fx:300/s.w] 0" -format "%wx%h\n" info:
by fmw42
2019-12-09T22:22:53-07:00
Forum: Bugs
Topic: possible bug annotate default gravity
Replies: 7
Views: 286

Re: possible bug annotate default gravity

Is the offset measured at the bottom left? That could be my misunderstanding.
by fmw42
2019-12-09T20:03:15-07:00
Forum: Bugs
Topic: possible bug annotate default gravity
Replies: 7
Views: 286

Re: possible bug annotate default gravity

But in the the case now with +20+20 and undefined it looks like the offset is actually +20-20! That is the Y offset is negative -- off the image. See my example above.
by fmw42
2019-12-09T13:44:00-07:00
Forum: Bugs
Topic: possible bug annotate default gravity
Replies: 7
Views: 286

Re: possible bug annotate default gravity

This still seems to be an issue in IM 6.9.10.78 and IM 7.0.9.8 Q16 Mac OSX.
by fmw42
2019-12-08T11:23:57-07:00
Forum: Users
Topic: Recursive bulk convert png images to jpg
Replies: 6
Views: 321

Re: Recursive bulk convert png images to jpg

Please always provide your Imagemagick version and platform/OS, since syntax may differ
by fmw42
2019-12-07T13:15:55-07:00
Forum: Users
Topic: Crop image based on color or edge
Replies: 6
Views: 323

Re: Crop image based on color or edge

Here is the full code to crop into the 4 sections. In the second part, I start with the result from the first part and then do canny edge detection. Then I average the image down to one column. I then use connected components to get the height and y offset of the top of each section of white (corres...
by fmw42
2019-12-07T12:16:47-07:00
Forum: Users
Topic: Crop image based on color or edge
Replies: 6
Views: 323

Re: Crop image based on color or edge

I can get your first result using the following on IM 6.9.10.77 Q16 Mac OSX by thresholding on the light brown color, then using connected components processing to get the largest gray(255) (white) region.- Unix syntax: bbox=`convert img.jpg -fuzz 15% -fill white -opaque "rgb(180,157,107)" \ -fill b...
by fmw42
2019-12-07T12:01:59-07:00
Forum: Users
Topic: Crop image based on color or edge
Replies: 6
Views: 323

Re: Crop image based on color or edge

Are all the lines that you want to get in the same places in all your images? Are the regions all the same heights as in your last example? Are they all the same color scheme?

Please always provide your IM version and platform, since syntax and scripting differ.
by fmw42
2019-12-06T17:29:28-07:00
Forum: Users
Topic: Creating scrolling credits for a video
Replies: 6
Views: 298

Re: Creating scrolling credits for a video

If you just want to scroll text, see GeeMack's typewriter-like effect at https://imagemagick.org/discourse-serve ... =1&t=35526

I made a formal Bash Unix shell script for that with Imagemagick. See typewriter script at my link below.
by fmw42
2019-12-06T17:24:50-07:00
Forum: Users
Topic: -geometry widthxheight<
Replies: 7
Views: 302

Re: -geometry widthxheight<

I do not see it mentioned either. I will take note to add something.