Search found 25926 matches

by fmw42
2020-01-20T17:11:43-07:00
Forum: Users
Topic: Highlights on RAW images are totally burnt
Replies: 4
Views: 64

Re: Highlights on RAW images are totally burnt

What was your exact command line for reading and converting your raw file?
by fmw42
2020-01-19T18:44:52-07:00
Forum: Users
Topic: How to install Imagemagick with nvidia GPU for acceleration?
Replies: 2
Views: 70

Re: How to install Imagemagick with nvidia GPU for acceleration?

What command are you trying to do with GPU acceleration? Not all commands can be accelerated. See https://imagemagick.org/script/opencl.php. OpenCL should install, if your GPU is compatible.
by fmw42
2020-01-19T17:07:33-07:00
Forum: Users
Topic: Add shadow only to text rather than box the text is within
Replies: 7
Views: 117

Re: Add shadow only to text rather than box the text is within

You do that by blurring and thresholding the alpha channel of the red box. See https://imagemagick.org/Usage/thumbnails/#soft_edges and https://imagemagick.org/Usage/thumbnails/#rounded convert \ \( -background none -font Oswald.ttf -pointsize 195 -fill black -gravity center label:"cat" \) \ \( +clo...
by fmw42
2020-01-19T16:15:31-07:00
Forum: Users
Topic: Re: Overlapping images to form a composite
Replies: 7
Views: 132

Re: Re: Overlapping images to form a composite

If you are calling this from Python, then you should probably check out Python OpenCV to do that. I think it has more tools designed to do what you need.

See https://www.pyimagesearch.com/2018/12/1 ... nd-python/ as one example
by fmw42
2020-01-19T16:14:20-07:00
Forum: Users
Topic: Re: Overlapping images to form a composite
Replies: 7
Views: 132

Re: Re: Overlapping images to form a composite

You can append multiple images, but the -append does not permit blending. So they simply abut to each other. If you need to blend, then here is a link to how to do it for a pair of images. But you need to align them first. https://imagemagick.org/discourse-server/viewtopic.php?f=1&t=37377&p=171803&h...
by fmw42
2020-01-19T16:09:53-07:00
Forum: Users
Topic: Add shadow only to text rather than box the text is within
Replies: 7
Views: 117

Re: Add shadow only to text rather than box the text is within

The layers merge is adding the shadow under the text with automatic placement via page offsets stored when creating the shadow (since the shadow image size is not the same as the text). -composite used various compose methods. -compose over is telling -composite to overlay one image onto the other. ...
by fmw42
2020-01-19T15:12:26-07:00
Forum: Users
Topic: Round the angles of the images
Replies: 2
Views: 47

Re: Round the angles of the images

See https://imagemagick.org/Usage/thumbnails/#rounded

Also above that where it says:

Code: Select all

convert thumbnail.gif -alpha set -virtual-pixel transparent -channel A -blur 0x8  -threshold 50% +channel rounded_corner_blur.gif
by fmw42
2020-01-19T14:52:15-07:00
Forum: Users
Topic: Add shadow only to text rather than box the text is within
Replies: 7
Views: 117

Re: Add shadow only to text rather than box the text is within

-size 1920.00000X420.00000 -size 1328.89888x289.07865 Why do you have -size twice with nothing between them? Which one do you want? Also the first -size has X rather than x between the numbers. Your issue is that you need to make your font background transparent not red. Here is what I have done be...
by fmw42
2020-01-18T20:33:21-07:00
Forum: Users
Topic: [CLI] evaluate-sequence + fx without clamping?
Replies: 4
Views: 137

Re: [CLI] evaluate-sequence + fx without clamping?

You can also remove the clamping for -compose minus -composite magick image1.png image2.png +swap -define compose:clamp=off -compose minus -composite diff.png This will do diff = image1 - image2 (the +swap is needed to get the input in the proper order) see https://imagemagick.org/script/command-lin...
by fmw42
2020-01-18T17:46:23-07:00
Forum: Users
Topic: Generating timer animations
Replies: 1
Views: 127

Re: Generating timer animations

You can trade storage space vs compression speed. PNG is a bit slow. You could try saving as uncompressed TIFF (or zip or lzw compressed) or as PGM from NetPBM or even MIFF.

Check the output and possibly add -type grayscale to ensure it is 8-bit per pixel rather than 24-bit.
by fmw42
2020-01-18T00:15:12-07:00
Forum: Users
Topic: imagemagick composite multiple images
Replies: 2
Views: 79

Re: imagemagick composite multiple images

Can you explain more about how you want to merge them? Are you trying to overlay the PNG on the TIFF or put them side by side? Are the images the same size? Do they have transparency? Perhaps post and example input pair and your desired output image. You cannot use wild cards in ImageMagick commands...
by fmw42
2020-01-17T11:16:27-07:00
Forum: Users
Topic: Fill transparent areas with color
Replies: 1
Views: 77

Re: Fill transparent areas with color

Your images have no transparency. Always post your original images (so we can use it for processing). Also provide your IM version and platform. The way to handle this is by dilating the alpha channel using -morphology. Unix syntax: convert image \( -clone -fill blue -colorize 100 \) \( -clone -alph...
by fmw42
2020-01-17T11:12:32-07:00
Forum: Users
Topic: change PDF font & background colour
Replies: 2
Views: 84

Re: change PDF font & background colour

The syntax would be: convert input.pdf -alpha off -fuzz 10% -fill black -opaque white -fill white -opaque "rgb(7,25,58)" result.pdf Note that ImageMagick uses Ghostscript to render PDF files as raster data. So you will lose all vector data in your new PDF. Adjust the fuzz value as desired. Add -dens...
by fmw42
2020-01-16T20:33:08-07:00
Forum: Users
Topic: I can't create a BMP4 even using bmp:format=bmp4
Replies: 4
Views: 212

Re: I can't create a BMP4 even using bmp:format=bmp4

I will leave this to the IM developers. Perhaps you are correct. I did not know there was a bmp5.

Did you try

Code: Select all

convert image.png BMP4:image.bmp
by fmw42
2020-01-16T16:32:22-07:00
Forum: Users
Topic: Copy area from infile to outfile
Replies: 6
Views: 189

Re: Copy area from infile to outfile

Do you have a list of the crop coordinates for this image for each color, the size of the output you want, and the upper left corner of where you want to put each color? If so, we can help further. You can also auto convert the white to transparency and extract the bounding boxes for each color in o...