Search found 11817 matches

by snibgo
2019-07-21T03:14:41-07:00
Forum: Users
Topic: How do I use ImageMagick to warp image on a baseball cap
Replies: 3
Views: 73

Re: How do I use ImageMagick to warp image on a baseball cap

Please don't multi-post. I have removed your other post. You want to distort an image and paint that on your object. If you can do this once with any software on any computer, you can repeat the task using just ImageMagick. The trick is to do it once using a special image called an "identity displac...
by snibgo
2019-07-20T01:37:02-07:00
Forum: Users
Topic: Disable transparent background
Replies: 9
Views: 292

Re: Disable transparent background

In Windows, PDF files can be opened with Microsoft Wordpad to view the file as raw text. I expect Unix has similar tools. I don't know what "as they are" means. If the PDF has a cropbox, but also has content outside the cropbox, which version is the "real" one? The content might be registration mark...
by snibgo
2019-07-19T15:53:53-07:00
Forum: Users
Topic: Captioning Images
Replies: 7
Views: 302

Re: Captioning Images

I'm not a bash expert, but you are calling the script with one parameter, "$SHELL", which translates on my computer to "/bin/bash". That is $1. Then you set the variable "file" to $1, and try to find its size etc, as if it was an image file. But it's not. Try calling the script with the name of an i...
by snibgo
2019-07-19T14:40:32-07:00
Forum: Users
Topic: Disable transparent background
Replies: 9
Views: 292

Re: Disable transparent background

Flokker wrote:There isn't anything cropped.
I suspect there is, and that if you read the PDF with a text editor you will see a "/CropBox" specification.
by snibgo
2019-07-19T09:41:05-07:00
Forum: Users
Topic: how to achieve watercolour map effect?
Replies: 6
Views: 204

Re: how to achieve watercolour map effect?

Open Street Map (OSM) data is available in vector format. A scanned watercolour image is raster data, ie pixels. Raster data can be used to fill in areas of a vector image. I don't use OSM as a developer. Perhaps it is available as SVG. If so, you have the choice of (a) tweaking the SVG to include t...
by snibgo
2019-07-19T08:48:55-07:00
Forum: Users
Topic: how to achieve watercolour map effect?
Replies: 6
Views: 204

Re: how to achieve watercolour map effect?

I suspect the effect shown at http://maps.stamen.com/watercolor/#12/37.7706/-122.3782 of water and land is from scanned watercolor images.
by snibgo
2019-07-19T08:41:49-07:00
Forum: Users
Topic: Disable transparent background
Replies: 9
Views: 292

Re: Disable transparent background

You might try one of the pdf defines, eg use-trimbox. See http://www.imagemagick.org/script/comma ... php#define
by snibgo
2019-07-19T08:01:38-07:00
Forum: Users
Topic: Disable transparent background
Replies: 9
Views: 292

Re: Disable transparent background

You have "a frame of transparent around the rest of the image". What do you want instead? You might "-trim" to remove it. Or flatten against a white background (or any colour you want): "-background white -layers flatten".
by snibgo
2019-07-19T07:36:13-07:00
Forum: Users
Topic: Convert image colorspace to rgb from cmyk without affecting image color contrast or color values
Replies: 22
Views: 3726

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

delegate library support not built-in `input.jpeg' (LCMS) IM is telling you that it doesn't have LCMS, which it needs for "-profile". Confirm this with: convert -version I get: Version: ImageMagick 6.9.9-50 Q16 x64 2018-06-02 http://www.imagemagick.org Copyright: Copyright (C) 1999-2015 ImageMagick...
by snibgo
2019-07-19T06:14:06-07:00
Forum: Users
Topic: Conversion from sRGB to CMYK: difference between JPEG and PDF
Replies: 4
Views: 173

Re: Conversion from sRGB to CMYK: difference between JPEG and PDF

What software are you using to view the results? Some software will ignore embedded profiles, perhaps assuming the encoding is some "standard" like sRGB. Some software (such as Firefox) has settings to control this. For PDFs, I view with Adobe Acrobat Reader. I don't know how good that is with profi...
by snibgo
2019-07-19T05:59:19-07:00
Forum: Users
Topic: how to achieve watercolour map effect?
Replies: 6
Views: 204

Re: how to achieve watercolour map effect?

In the example, the water is replaced by a tiled image. We can see the repeated pattern.

Where does the pattern come from? I would do it with fractal noise (aka Perlin noise). See Fractal noise . But I expect a simpler method, probably based on plasma, could work.
by snibgo
2019-07-19T04:32:26-07:00
Forum: Users
Topic: Captioning Images
Replies: 7
Views: 302

Re: Captioning Images

buchert wrote:... and the "bakup" folder is created, but nothing else works.
What happens instead? How do you know that "nothing else works"? What is the first command that doesn't do what you want?
by snibgo
2019-07-18T18:05:01-07:00
Forum: Developers
Topic: "distortion" can't be used in fx
Replies: 2
Views: 199

Re: "distortion" can't be used in fx

I think the change required is simple, in FxGetSymbol() in fx.c. But I could be wrong. I can multiply by QuantumRange if I need to. For example: magick rose: rose: -metric RMSE -compare -format %[depth] info: 8 magick rose: rose: -metric RMSE -compare -format %[fx:depth] info: 0.000244144 magick ros...
by snibgo
2019-07-18T17:27:22-07:00
Forum: Users
Topic: Conversion from sRGB to CMYK: difference between JPEG and PDF
Replies: 4
Views: 173

Re: Conversion from sRGB to CMYK: difference between JPEG and PDF

@nathankerstens : I can't see any difference. What difference do you see?

As Fred says, a gamut difference in different profiles can change colours slightly, especially if colours are saturated. But I can't see a problem here.
by snibgo
2019-07-18T16:19:27-07:00
Forum: Developers
Topic: "distortion" can't be used in fx
Replies: 2
Views: 199

"distortion" can't be used in fx

We can do a "compare" in a magick command like this: magick rose: rose: -metric RMSE -compare -format %[distortion] info: 0 The "distortion" is always a number, but for some reason we can't use it in an fx expression: magick rose: rose: -metric RMSE -compare -format %[fx:distortion] info: magick: un...