Search found 12691 matches

by snibgo
2020-02-17T14:30:29-07:00
Forum: Users
Topic: Jaggy results with using maps for perspective transform
Replies: 17
Views: 560

Re: Jaggy results with using maps for perspective transform

With Inkscape 1.0beta2 16 bit export leading to the same artifacts, this likely means that the gradients aren't actually rendered at 16 bits, right? Possibly. IM "identify -verbose" will tell you whether the map image has more than 8 significant bits. But that wouldn't prove the bits are accurate ....
by snibgo
2020-02-17T13:57:52-07:00
Forum: Users
Topic: Jaggy results with using maps for perspective transform
Replies: 17
Views: 560

Re: Jaggy results with using maps for perspective transform

I opened the front map in GIMP, changed the precision from 8 bits to 16 bits and applied Gaussian blur, radius 2. You can do those operations in IM. I should have checked for that obvious problem. Distortion maps should never be 8-bit precision. If they are, quantisation gives an expected error of ...
by snibgo
2020-02-17T12:42:50-07:00
Forum: Users
Topic: Jaggy results with using maps for perspective transform
Replies: 17
Views: 560

Re: Jaggy results with using maps for perspective transform

perspector wrote:Without downsampling to map-size first, this happens: ...
I suggest you upsample the map, then distort, then downsample as needed.

As the map comes from a vector SVG, you should tell IM to make a larger PNG. I suppose this is the "--export-dpi" option.
by snibgo
2020-02-17T12:20:25-07:00
Forum: Users
Topic: Jaggy results with using maps for perspective transform
Replies: 17
Views: 560

Re: Jaggy results with using maps for perspective transform

Yes, as Fred says, if you can distort without using a map, the result will be better, without having to supersample.
by snibgo
2020-02-17T11:55:53-07:00
Forum: Users
Topic: Jaggy results with using maps for perspective transform
Replies: 17
Views: 560

Re: Jaggy results with using maps for perspective transform

You are generating a map from an SVG, then downsampling an image to that size, and distorting. Is that right? Is the SVG file just wrapper for a raster image, or a genuine vector image? Instead of downsampling then distorting, you will get a better result if you distort then downsample. The result m...
by snibgo
2020-02-17T11:33:06-07:00
Forum: Developers
Topic: Minor webpage documentation clarification for HDRI
Replies: 6
Views: 238

Re: Minor webpage documentation clarification for HDRI

Yes, please do. The official documentation is on github so you can pull or push requests or whatever it is, if you know how to (I don't).

Otherwise, put suggestions here, with the URLs of the web pages.
by snibgo
2020-02-17T11:21:52-07:00
Forum: Users
Topic: Error: Ignoring /Annot dict without required /Subtype entry.
Replies: 1
Views: 129

Re: Error: Ignoring /Annot dict without required /Subtype entry.

Where does that message come from? It isn't from ImageMagick.

Your version 6.7.7-10 is very old. I suggest you upgrade.
by snibgo
2020-02-17T11:14:29-07:00
Forum: Bugs
Topic: Error file convert DCM
Replies: 1
Views: 160

Re: Error file convert DCM

What version of IM, on what platform?

A developer will probably need to examine a sample input file.
by snibgo
2020-02-16T18:19:30-07:00
Forum: Users
Topic: Store results of "convert" to variable in windows batch script
Replies: 3
Views: 251

Re: Store results of "convert" to variable in windows batch script

A Windows BAT script:

Code: Select all

for /F "usebackq" %%L in (`magick ^
  identify -ping -format "width=%%w\nheight=%%h" ^
  picture.jpg`) do set %%L
This sets the variables named "width" and "height".
by snibgo
2020-02-16T12:10:45-07:00
Forum: Users
Topic: Confusion regarding percent escape handling
Replies: 2
Views: 200

Re: Confusion regarding percent escape handling

What version of IM? If v7, I suggest you use "magick", not "convert". "convert" is v6 syntax, which is more restrictive. As far as I know, the only escapes that IM will interpret in output filenames are: 1: %d, %04d, %o, %04o, %x, %04x etc: a sequential number, base 10 or 8 or 16, optionally with le...
by snibgo
2020-02-14T22:41:32-07:00
Forum: Digital Image Processing
Topic: Any recom for HDR (6x2EV) and batch proc?
Replies: 16
Views: 1135

Re: Any recom for HDR (6x2EV) and batch proc?

You are doing fine: you have a 16-bit integer image, in XYZ space. I suggest you try "magick identify -verbose IMG_0106.tiff" to check it has an embedded XYZ profile. It should have. Now convert it to linear RGB space: magick ^ IMG_0106.tiff ^ -set colorspace XYZ ^ -profile sRGB-elle-V4-g10.icc ^ -s...
by snibgo
2020-02-13T15:40:08-07:00
Forum: Digital Image Processing
Topic: Any recom for HDR (6x2EV) and batch proc?
Replies: 16
Views: 1135

Re: Any recom for HDR (6x2EV) and batch proc?

Features: Cipher DPC Modules OpenMP So you don't have HDRI. This means that internally IM will store pixel values as integers, in the range 0 to 65535 because you have Q16. This is bad news for HDR images. I strongly suggest you get a HDRI build. For Windows, you can download a pre-built binary wit...
by snibgo
2020-02-13T11:26:30-07:00
Forum: Users
Topic: Combining multipage Tiffs with "2 dimension"
Replies: 8
Views: 458

Re: Combining multipage Tiffs with "2 dimension"

image1.tif and image2.tif both contain ten images. All are 1024x1024, grayscale, no alpha. They all have only one channel. They contain a property comment: Properties: comment: ImageJ=1.52h images=10 channels=2 frames=5 hyperstack=true mode=color loop=false min=601.0 max=14308.0 I don't know what "c...
by snibgo
2020-02-13T11:13:07-07:00
Forum: Digital Image Processing
Topic: Any recom for HDR (6x2EV) and batch proc?
Replies: 16
Views: 1135

Re: Any recom for HDR (6x2EV) and batch proc?

The Google problem might be because I'm not "signed in" to Google. I can see your web site on Google with no problem. Thanks for your notes on building IM with my filters. I'll read your comments carefully, and may modify my webpages accordingly. Re the crescent moon: in the brightest image, there i...
by snibgo
2020-02-13T09:18:45-07:00
Forum: Bugs
Topic: DNG to JPG results in distorted image.
Replies: 7
Views: 454

Re: DNG to JPG results in distorted image.

According to exiftool, sample_1-1.DNG has a main image 4252x2835 pixels, 3 channels/pixel, JPEG compression, photometric interpretation linear raw. ImageMagick v7.0.8-64, using libraw, misreads the file. I resize and save to jpg just for web convenience: magick -verbose sample_1-1.DNG -resize 600x60...