Search found 12436 matches

by snibgo
2019-12-12T08:50:35-07:00
Forum: Bugs
Topic: Embedded images in SVG are colour inverted when converted to PNG
Replies: 11
Views: 5468

Re: Embedded images in SVG are colour inverted when converted to PNG

Trying to download your input SVG from https://uploadfiles.io/r57mvuwt I get:
The hosting period for this file has now expired, only premium users can download it.
by snibgo
2019-12-11T12:09:25-07:00
Forum: Users
Topic: change background white->grey
Replies: 2
Views: 119

Re: change background white->grey

As Fred says. Looking at 37128_originale_jpg_temp1.jpg: the original photograph might have a difference between the white background and the white of the short sleeve on the right side. But JPEG compression changes colours, typically around 5%, and this removes any difference. It takes some intellig...
by snibgo
2019-12-11T08:02:37-07:00
Forum: MagickWand
Topic: unexpected PerspectiveDistortion result
Replies: 3
Views: 187

Re: unexpected PerspectiveDistortion result

I'm not sure what you want to do, but let's suppose you want to pin the points near the left corners, move the point near top-right up, and the point near bottom-right down, with no horizontal movement. One method for this uses displacement maps. An "identity absolute displacement map" causes no mov...
by snibgo
2019-12-10T18:52:48-07:00
Forum: Bugs
Topic: convert crashes when applying colour profile to some images
Replies: 4
Views: 169

Re: convert crashes when applying colour profile to some images

"identify" shows your jpeg is encoded with RGB channels but with an embedded CMYK profile. Any attempt to convert it to another colorspace is doomed. I suggest "-strip" to remove the incompatible profile, or "-set profile {your sRGB profile}.icc".
by snibgo
2019-12-10T12:22:55-07:00
Forum: Users
Topic: current canvas size
Replies: 6
Views: 207

Re: current canvas size

If you want to manipulate just the red part, you will need parentheses. You can set the size before then, so w and h are defined: magick xc:white[500x300!] -size %[fx:w*0.2]x%[fx:h] ( xc:red -evaluate Multiply 0.5 ) -gravity east -composite x.png This is Windows syntax. For bash, escape the parenthe...
by snibgo
2019-12-10T11:55:23-07:00
Forum: Users
Topic: current canvas size
Replies: 6
Views: 207

Re: current canvas size

Sorry, my mistake, remove the "+write x.png".

But you have added parentheses to my command. That is wrong. Remove them.

(Why is it wrong? Because open parenthesis start a new image list. That list is empty, it has no images, so w and h are not defined.)
by snibgo
2019-12-10T11:38:17-07:00
Forum: Users
Topic: current canvas size
Replies: 6
Views: 207

Re: current canvas size

What version of IM? I suggest you use v7, and "magick".

100 * height would be very large. Perhaps you mean something like 0.2 * height.

Code: Select all

magick xc:white[500x300!] -size %[fx:w*0.2]x%[fx:h] xc:red +write x.png -gravity east -composite x.png
by snibgo
2019-12-10T10:08:30-07:00
Forum: MagickWand
Topic: unexpected PerspectiveDistortion result
Replies: 3
Views: 187

Re: unexpected PerspectiveDistortion result

You specify some movement in the x-direction, from 640.5 to 639.5. But most of the movement in that direction comes from the expansion in the y-direction. Perhaps you don't understand perspective distortions. Imagine this wasn't an invented image, but a photo of a fence, with vertical posts and hori...
by snibgo
2019-12-09T20:24:43-07:00
Forum: Bugs
Topic: possible bug annotate default gravity
Replies: 7
Views: 286

Re: possible bug annotate default gravity

The bottom-left of the T glyph is at about +20+20.
by snibgo
2019-12-09T19:48:56-07:00
Forum: Kudos and Rants
Topic: COMPOSITE -IN-Tile Across and Down hasn't worked
Replies: 1
Views: 145

Re: COMPOSITE -IN-Tile Across and Down hasn't worked

Is this a real post?

Please say what version of IM you use, on what platform, and give the command you used, and any input images. Then say what the problem is.
by snibgo
2019-12-09T18:14:56-07:00
Forum: Users
Topic: Blur the center of the image
Replies: 5
Views: 211

Re: Blur the center of the image

"-region" can mask only rectangular regions. For more general masks, I suggest a masked composite (Windows BAT script): magick ^ adb64cb06c5a075e8bed4ca6c8d4ef2e.png ^ ( +clone ^ -blur 0x3 ^ ) ^ ( +clone ^ -fill Black -colorize 100 ^ -fill White -draw "circle 125,125 125,188" ^ ) ^ -alpha off ^ -com...
by snibgo
2019-12-09T16:28:45-07:00
Forum: Users
Topic: Blur the center of the image
Replies: 5
Views: 211

Re: Blur the center of the image

This gives roughly the desired result:

Code: Select all

magick adb64cb06c5a075e8bed4ca6c8d4ef2e.png -region 125x125+63+63 -blur 0x3 +region blurredbricks.png
Image
by snibgo
2019-12-09T06:44:58-07:00
Forum: Users
Topic: How to convert pdf to single Images?
Replies: 2
Views: 125

Re: How to convert pdf to single Images?

Yes, eg:

Code: Select all

magick in.pdf out.png
by snibgo
2019-12-09T05:59:19-07:00
Forum: Developers
Topic: Zoom in Gif
Replies: 4
Views: 210

Re: Zoom in Gif

IM = ImageMagick. This is an ImageMagick forum.