Search found 10958 matches

by snibgo
2018-12-14T08:37:33-07:00
Forum: Users
Topic: Placing image and joining commands
Replies: 4
Views: 52

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: 172

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: 172

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 ...
by snibgo
2018-12-14T04:16:52-07:00
Forum: Users
Topic: How to place image directly to the center?
Replies: 16
Views: 172

Re: How to place image directly to the center?

It seems to work fine, but I don't know what you intend. Set a different background colour to understand what is happening. Perhaps you intend the two images to be the same size. If so, you need "!" in the resize. See http://www.imagemagick.org/script/comma ... p#geometry
by snibgo
2018-12-14T03:56:25-07:00
Forum: Users
Topic: Unable to do PDF comparison
Replies: 5
Views: 55

Re: Unable to do PDF comparison

NukaCola wrote:convert: missing Null Image List Separator
It is telling you there is no Null: in your image list. Compare your latest command to your original command. Why did you remove "Null:"?
by snibgo
2018-12-14T03:31:33-07:00
Forum: Users
Topic: How to place image directly to the center?
Replies: 16
Views: 172

Re: How to place image directly to the center?

I can't download your images, so I can't diagnose your problem.
by snibgo
2018-12-14T03:29:43-07:00
Forum: Users
Topic: Unable to do PDF comparison
Replies: 5
Views: 55

Re: Unable to do PDF comparison

NukaCola wrote:convert: missing Null Image List Separator
Why are you still running "convert"?

What is your exact command?
by snibgo
2018-12-14T02:13:01-07:00
Forum: Users
Topic: How to place image directly to the center?
Replies: 16
Views: 172

Re: How to place image directly to the center?

To shave 2 pixels from all sides, use "-shave 2x2".

That page also gives the correct syntax for "-crop".
by snibgo
2018-12-14T02:09:59-07:00
Forum: Users
Topic: Unable to do PDF comparison
Replies: 5
Views: 55

Re: Unable to do PDF comparison

NukaCola wrote:Invalid Parameter
This is a message from a Microsoft program convert.exe, not ImageMagick.

For V7, I suggest you use "magick", not "convert" or "magick convert".
by snibgo
2018-12-13T16:58:10-07:00
Forum: Magick.NET
Topic: Converting a image to Raw video format
Replies: 4
Views: 91

Re: Converting a image to Raw video format

IM contains no code to read or write video files (except animated GIF, if we can call that "video"). Instead, IM calls ffmpeg to do those jobs.

If you simply want to convert video from one format to another, IM is the wrong tool. I suggest you use ffmpeg directly.
by snibgo
2018-12-13T16:02:36-07:00
Forum: Magick.NET
Topic: Converting a image to Raw video format
Replies: 4
Views: 91

Re: Converting a image to Raw video format

IM uses ffmpeg as delegate for reading and writing video. If ffmpeg supports .y4m, then so does IM.
by snibgo
2018-12-13T15:17:19-07:00
Forum: Users
Topic: How to place image directly to the center?
Replies: 16
Views: 172

Re: How to place image directly to the center?

"-crop +2+2+2+2" is not valid IM syntax, although IM does accept it. It doesn't do the same as "-crop 2x2+2+2". What do you want it to do?

I suggest you use valid syntax.
by snibgo
2018-12-13T14:19:53-07:00
Forum: Magick++
Topic: Magick++ ColorCMYK
Replies: 8
Views: 118

Re: Magick++ ColorCMYK

IM colour names are just shortcuts to particular pixel numbers, eg "red" is "#f00". But in CMY, "#f00" is really cyan.

So I suggest you use numbers, not names, when using CMYK.
by snibgo
2018-12-13T03:27:52-07:00
Forum: Bugs
Topic: JPG file failed to convert with new version of Image Magick
Replies: 6
Views: 116

Re: JPG file failed to convert with new version of Image Magick

v7.0.7-28 also converts with no problem. Exiftool says the file has a massive document history, and perhaps more recent IM has a bug that doesn't allocate enough memory.
by snibgo
2018-12-13T02:36:56-07:00
Forum: MagickWand for PHP
Topic: force greyscale image to sRGB
Replies: 5
Views: 113

Re: force greyscale image to sRGB

I don't use PHP or IMagick, but I expect that no settings have any effect on file_put_contents. Why do you use this? Why not writeImage?