Search found 10970 matches

by snibgo
2018-12-16T16:50:07-07:00
Forum: Users
Topic: Patterning an image?
Replies: 2
Views: 58

Re: Patterning an image?

Pastah wrote:I assume resaving a jpg over and over causes a lot of artifacts.
Yes. Jpg is a lossy format. Try a non-lossy format instead, such as png.
by snibgo
2018-12-16T16:23:34-07:00
Forum: Bugs
Topic: Backslashes in -set profile
Replies: 2
Views: 37

Re: Backslashes in -set profile

In Windows, "-set profile" works fine with forward slashes. But backslashes are interpreted, eg backslash-n is interpreted as newline: f:\web\im>%IMG7%magick xc: -set profile \web\nim\sRGB.icc NULL: magick: unable to open file 'web imsRGB.icc': Invalid argument @ error/blob.c/FileToBlob/1304. That i...
by snibgo
2018-12-16T15:12:16-07:00
Forum: Bugs
Topic: Backslashes in -set profile
Replies: 2
Views: 37

Backslashes in -set profile

Windows 8.1, IM v7.0.7-28. Backslashes work in "-profile", but they are ignored in "-set profile". magick xc: -profile \web\im\sRGB.icc NULL: ... Works fine. This fails: magick xc: -set profile \web\im\sRGB.icc NULL: magick: unable to open file 'webimsRGB.icc': No such file or directory @ error/blob...
by snibgo
2018-12-16T12:47:45-07:00
Forum: Users
Topic: [SOLVED] Saving Composite Operator in MIFF
Replies: 4
Views: 75

Re: Saving Composite Operator in MIFF

At the command line, saving as miff also saved the current setting of "-compose". This meant that after reading a miff, "-composite" without explicitly setting "-compose" was risky. That no longer seems to be the case. I don't know if using a composite setting in an API ever set the "compose" metada...
by snibgo
2018-12-16T12:29:59-07:00
Forum: Users
Topic: Converting colour profile oddity - help please
Replies: 15
Views: 257

Re: Converting colour profile oddity - help please

"-colorspace Lab" isn't pointless, as it means the "-unsharp" will be done in linear space instead of non-linear sRGB. Another possibility is "-colorspace RGB". I think doing "-colorspace Lab" without a corresponding "-colorspace sRGB" to put it back to sRGB is bad practice. True, IM knows that JPG ...
by snibgo
2018-12-16T10:37:18-07:00
Forum: Users
Topic: Converting colour profile oddity - help please
Replies: 15
Views: 257

Re: Converting colour profile oddity - help please

I wouldn't use Lab in this application because there is no need. Nor would I mix "-profile" and "-colorspace" because there is no need, and it adds superfluous complexity. When an image is saved to an 8-bit format such as JPG, demotion to 8 bits happens automatically. Formats such as PNG can save as...
by snibgo
2018-12-16T07:12:09-07:00
Forum: Users
Topic: Converting colour profile oddity - help please
Replies: 15
Views: 257

Re: Converting colour profile oddity - help please

Okay, now I've got a decent internet connection... "-depth 8" is a setting, not an operation. It doesn't change pixel values. Instead, it affects what following operations do. "-depth 8" does affect the "-colorspace" operation, but I'm not sure how. Experiments show that for your image, "-colorspace...
by snibgo
2018-12-16T02:41:58-07:00
Forum: Users
Topic: Converting colour profile oddity - help please
Replies: 15
Views: 257

Re: Converting colour profile oddity - help please

What version of IM? Does it have HDRI? On what platform (though that should make no difference)? Your image is too large for me to download, but I may be able to later today. As Fred says, using both "-profile" and "-colorspace" is usually a bad idea. These are two different systems for specifying c...
by snibgo
2018-12-15T11:28:18-07:00
Forum: Users
Topic: Replace all occurance of an image with another one in a larger image.
Replies: 6
Views: 108

Re: Replace all occurance of an image with another one in a larger image.

Your links don't work for me. I get: Error 1011 Ray ID: 489af3e98db134b2 • 2018-12-15 18:25:26 UTC Access denied What happened? The owner of this website (schakal.ru) does not allow hotlinking to that resource (/tmp/from.png). Images are sent to stdout. Text messages go to stderr, so use "2>tmp.txt".
by snibgo
2018-12-15T08:20:29-07:00
Forum: Users
Topic: Replace all occurance of an image with another one in a larger image.
Replies: 6
Views: 108

Re: Replace all occurance of an image with another one in a larger image.

That page tells you how to ask questions. You should say what version of IM you use, on what platform. You should link to an example screenshot and what you want to search for and what you want to replace it with. If you don't do this, we can only give vague answers. See the very similar recent ques...
by snibgo
2018-12-15T02:58:00-07:00
Forum: Users
Topic: ImageMagick 7 - composite inconsistent color in output/print (need help)
Replies: 6
Views: 188

Re: ImageMagick 7 - composite inconsistent color in output/print (need help)

I agree the scan of the print is different to the original. I have explained why, and what you can do to minimise this: use a colour-managed workflow, with ICC profiles that are specific to the printer/ink/paper, and the scanner. You also need to have an ICC profile for your computer screen.
by snibgo
2018-12-14T08:37:33-07:00
Forum: Users
Topic: Placing image and joining commands
Replies: 4
Views: 92

Re: Placing image and joining commands

... it just places it over to the right and in the middle ... +append Well, yes, that's what "+append" does. See http://www.imagemagick.org/script/command-line-options.php#append Perhaps you want "-compose Over -composite" instead. I suggest you get the individual commands doing what you want befor...
by snibgo
2018-12-14T07:09:56-07:00
Forum: Users
Topic: How to place image directly to the center?
Replies: 16
Views: 285

Re: How to place image directly to the center?

The white strip on the left is 6 columns wide, not 5. We can shave first, crop and find the mimimum: f:\web\im>%IMG7%magick pic0.jpg -shave 2x2 -crop 4x+0+0 -format %[fx:minima*255] info: 0.921569 So the darkest channel value in those remaining 4 columns is 92.15% (which is 235 out of 255), so "-fuz...
by snibgo
2018-12-14T04:55:21-07:00
Forum: Users
Topic: How to place image directly to the center?
Replies: 16
Views: 285

Re: How to place image directly to the center?

[The upper red image...] Left white column is is a few pixels wider than right white column. Yes, because the left side starts off with a few columns of roughly white pixels. If you intend to trim them off, use a larger fuzz. Incidentally, where did these images come from? JPG is a very bad format ...