Search found 12567 matches

by snibgo
2020-01-21T09:08:08-07:00
Forum: Bugs
Topic: IM 6.9.7 doesn't identify DICOM file
Replies: 4
Views: 38

Re: IM 6.9.7 doesn't identify DICOM file

What is the text output from: magick identify O0000001 This might say whether IM recognises the file as DCM format. Also, what does "exiftool O0000001" say? (Remove any confidential text.) A web search on the error message finds https://irfanview-forum.de/showthread.php?t=1768 "SOF" (Start of Frame)...
by snibgo
2020-01-21T08:23:58-07:00
Forum: Bugs
Topic: IM 6.9.7 doesn't identify DICOM file
Replies: 4
Views: 38

Re: IM 6.9.7 doesn't identify DICOM file

v6.9.7-4 is quite old. I suggest you try with the current v6 or current v7 versions. Does that work? If that doesn't work, a developer may need to take a look.
by snibgo
2020-01-20T16:31:00-07:00
Forum: Users
Topic: Highlights on RAW images are totally burnt
Replies: 5
Views: 114

Re: Highlights on RAW images are totally burnt

But you talk about "Recovered highlights". If the camera hasn't saturated then there is nothing to "recover". There are simply "highlights", light parts of the image.
by snibgo
2020-01-20T16:02:38-07:00
Forum: Users
Topic: Highlights on RAW images are totally burnt
Replies: 5
Views: 114

Re: Highlights on RAW images are totally burnt

The version of IM that I use can't read your raw file. Perhaps because my version of dcraw is too old. IM can read it, using libtiff. So I can't be sure, but I suspect that most of the sky has burnt out in the camera, ie the sensor was saturated. The data is lost. If so, then "highlight recovery" me...
by snibgo
2020-01-20T14:15:30-07:00
Forum: Users
Topic: [C++][Help!] Create Image from 2D array or Vector, while storing RGB in a type
Replies: 2
Views: 150

Re: [C++][Help!] Create Image from 2D array or Vector, while storing RGB in a type

I have no experience of reading from blobs, but I think they need to be in a format that IM can read, eg JPEG or PNG or whatever.

The function ImportImagePixels() accepts an array, and parameters for width, height, channels and so on.
by snibgo
2020-01-20T11:43:26-07:00
Forum: Users
Topic: facedetect - does folder full of images have faces ?
Replies: 1
Views: 51

Re: facedetect - does folder full of images have faces ?

IM doesn't have a face-detection algorithm.
by snibgo
2020-01-20T06:45:45-07:00
Forum: Users
Topic: Result filename pattern, based on existing files
Replies: 1
Views: 60

Re: Result filename pattern, based on existing files

IM won't check to see if the file already exists. You should do that in a script.
by snibgo
2020-01-19T17:22:33-07:00
Forum: Users
Topic: Convert command fails.. trying to run a script I downloaded
Replies: 2
Views: 53

Re: Convert command fails.. trying to run a script I downloaded

Your script has bash syntax. I suppose you are running it as a Windows BAT script file. See https://www.imagemagick.org/Usage/windo ... vert_issue
by snibgo
2020-01-19T17:05:46-07:00
Forum: Users
Topic: Re: Overlapping images to form a composite
Replies: 7
Views: 157

Re: Re: Overlapping images to form a composite

Suppose the first pair overlap by 110 pixels, and the second by 120. You can crop and append like this: magick ^ IMG_20200119_135301.jpg -auto-orient ^ -gravity East ^ ( IMG_20200119_135303.jpg ^ -auto-orient -crop %%[fx:w-110]x+0+0 +repage ) ^ ( IMG_20200119_135305.jpg ^ -auto-orient -crop %%[fx:w-...
by snibgo
2020-01-19T16:07:58-07:00
Forum: Users
Topic: Re: Overlapping images to form a composite
Replies: 7
Views: 157

Re: Re: Overlapping images to form a composite

The Hugin toolset can automatically calculate the overlaps, and blend the photos together, even accounting for lens distortions. To do it with ImageMagick, you would: 1. Manually find the exact overlaps, or use a script for this. 2. Either crop the excess from all the images except one and append th...
by snibgo
2020-01-18T07:37:40-07:00
Forum: Users
Topic: Copy area from infile to outfile
Replies: 6
Views: 211

Re: Copy area from infile to outfile

ImageMagick works with lists of images. In this case, it reads infile.png so there is one image in the list. Then it makes a clone so now there are two. And so on. "-delete 0" deletes the first image in the list. "-delete" doesn't delete any files.
by snibgo
2020-01-18T04:51:59-07:00
Forum: Users
Topic: [CLI] evaluate-sequence + fx without clamping?
Replies: 4
Views: 156

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

"-fx" is very slow. I suggest you use "-compose Mathematics" instead. This can do the subtraction and addition in one operation:

Code: Select all

magick image1.png image2.png -define compose:clamp=off -compose mathematics -define compose:args=0,1,-1,0.5 -composite result.png
by snibgo
2020-01-18T04:45:12-07:00
Forum: Bugs
Topic: Convert doesn't work
Replies: 5
Views: 213

Re: Convert doesn't work

srgmskt wrote:Policy: Coder
rights: None
pattern: PDF
So, can you see what the problem is?

A line in your policy.xml gives you no rights to PDF files. If you remove that line, you will have access.
by snibgo
2020-01-18T00:14:30-07:00
Forum: Users
Topic: imagemagick composite multiple images
Replies: 2
Views: 99

Re: imagemagick composite multiple images

What is your platform (Windows, bash, etc?). How large are your inputs? If the inputs are small enough to fit into memory at the same time, you could use "-layers composite", like this: magick *.tif NULL: *.png -layers Composite out_%d.png Otherwise, you could write a shell loop, so the magick comma...
by snibgo
2020-01-17T05:44:12-07:00
Forum: Users
Topic: JAB XYZ conversion
Replies: 7
Views: 214

Re: JAB XYZ conversion

@tag: When the colorspace are incorporated into ImageMagick, you will be able to do things like this: magick xc:rgb(1%,49%,51%) -set colorspace Jzazbz -colorspace sRGB txt: # ImageMagick pixel enumeration: 1,1,4294967295,srgb 0,0: (1.49887e+09,1.45987e+09,3.50994e+09) #595704555703EA1AD1355BB8 srgb(...