Search found 11936 matches

by snibgo
2019-08-14T09:35:07-07:00
Forum: Users
Topic: Using mathematical operators in commands?
Replies: 14
Views: 640

Re: Using mathematical operators in commands?

Please show the exact command you used, and the exact error message.
by snibgo
2019-08-14T08:43:46-07:00
Forum: Users
Topic: Crop Image within the border of specific color
Replies: 6
Views: 362

Re: Crop Image within the border of specific color

What version of IM, on what platform? Sample input image?

One method would be to flood-fill from the top-left corner with yellow. Then trim.
by snibgo
2019-08-14T05:20:47-07:00
Forum: Users
Topic: SVG and clipping path
Replies: 10
Views: 480

Re: SVG and clipping path

convert -verbose Geboortekaartje-Octo-1.svg test.png "inkscape" "Geboortekaartje-Octo-1.svg" --export-eps="/tmp/magick-37767nPLbA_doiGwI" --export-dpi="90,90" --export-background="rgb(100%,100%,100%)" --export-background-opacity="1" > "/tmp/magick-37767cbwD7Suw2XNE" 2>&1 Aborted This suggests Inksc...
by snibgo
2019-08-14T04:26:27-07:00
Forum: Users
Topic: Using mathematical operators in commands?
Replies: 14
Views: 640

Re: Using mathematical operators in commands?

What version of IM, on what platform? If you use IM V7, you can use "%[fx:...]" expressions such as: magick xc: -resize %[fx:16^^3] info: This is Windows syntax, where caret ^ is a special character so must be escaped by ^. For bash, don't double the ^. FX expressions can use variables defined with ...
by snibgo
2019-08-13T11:57:39-07:00
Forum: Users
Topic: Browser realtime transformations
Replies: 6
Views: 413

Re: Browser realtime transformations

I've deleted it.
by snibgo
2019-08-13T11:56:40-07:00
Forum: Users
Topic: SVG and clipping path
Replies: 10
Views: 480

Re: SVG and clipping path

JeroenOnline wrote:convert testimage.svg test.png -verbose
The last argument should be the output filename. Not "-verbose" or anything else. Try:

Code: Select all

convert -verbose testimage.svg test.png
by snibgo
2019-08-13T10:43:55-07:00
Forum: Users
Topic: Browser realtime transformations
Replies: 6
Views: 413

Re: Browser realtime transformations

Excellent. Thanks for sharing.

You show the IM command that is executed. That's good. I would also like to see the current coordinates of the mouse.

You may find that mpc is faster than miff. (On Windows, I usually find that miff is fastest.)

Q8 non-HDRI will be faster.
by snibgo
2019-08-13T06:06:14-07:00
Forum: Users
Topic: Is ImageMagick aware of multi-frame raw images?
Replies: 1
Views: 226

Re: Is ImageMagick aware of multi-frame raw images?

IM expects dcraw to output a single image. If dcraw can create multiple images, then I suggest you either (a) use dcraw directly or (b) write suitable entries in delegates.xml.
by snibgo
2019-08-12T15:24:11-07:00
Forum: Users
Topic: ImageMagick Orchestrator
Replies: 4
Views: 365

Re: ImageMagick Orchestrator

That sounds like the standard tool "make". Give it the dependencies of what files depend on what files, and the commands that build files from other files, "make" will execute just the required commands, according to timestamps of files. I use it to (re-)build my web pages, with the added feature th...
by snibgo
2019-08-12T15:17:28-07:00
Forum: Users
Topic: Piping from dcraw to ImageMagick?
Replies: 4
Views: 408

Re: Piping from dcraw to ImageMagick?

Which of my suggestions did you try, delegates.xml or piping? I tested the piping version with my hack of IM's modified dcraw, and it works fine.
by snibgo
2019-08-12T10:49:52-07:00
Forum: Users
Topic: Piping from dcraw to ImageMagick?
Replies: 4
Views: 408

Re: Piping from dcraw to ImageMagick?

You could use the delegates.xml file, by adding two lines with special prefixes, eg "RAWMON:" and "RAWLUM".


dcraw's "-c" option sends to stdout, and this works with PNM or TIFF format:

Code: Select all

dcraw -c AGA_3443.NEF | magick PBM:- x.tiff

dcraw -c -T AGA_3443.NEF | magick TIFF:- x2.tiff
by snibgo
2019-08-12T10:04:06-07:00
Forum: Users
Topic: Overlay license plate
Replies: 6
Views: 519

Re: Overlay license plate

You know the four corners of your logo, and the four corners where you want them to move to. See https://www.imagemagick.org/discourse-s ... 08#p167933
by snibgo
2019-08-12T07:17:54-07:00
Forum: Users
Topic: Convert image colorspace to rgb from cmyk without affecting image color contrast or color values
Replies: 24
Views: 8252

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

Your command is bad. When an image has no embedded profile, "-profile sRGB.icc" will assign that profile. But if the image is encoded as CMYK, assigning any RGB profile is not a good idea. Instead, you should do one of these three actions: 1. Assign a CMYK profile, then convert to a RGB profile, eg:...
by snibgo
2019-08-09T07:08:10-07:00
Forum: Users
Topic: crop and deskew based on coordinates only?
Replies: 1
Views: 490

Re: crop and deskew based on coordinates only?

You know the coordinates of four points (this is 8 numbers). You want to move those four points to some other coordinates (another 8 numbers). For that, use "-distort perspective". Give that 16 numbers, in this order: x,y coords of first input point x,y coords for desired location of first point x,y...