Search found 21710 matches

by fmw42
2017-09-19T14:54:26-07:00
Forum: Users
Topic: Sharpen PDF file
Replies: 6
Views: 58

Re: Sharpen PDF file

You can get sharper results by increasing the density and then resizing. But saving as PDF will only put a vector shell around the rasterized pdf.
by fmw42
2017-09-19T08:58:07-07:00
Forum: Users
Topic: 6 images (cube map) into equirectangular?
Replies: 15
Views: 15452

Re: 6 images (cube map) into equirectangular?

I am not sure I understand what you need. Can you explain further? Are you talking about multiple panoramas or one panorama with multiple output images. My next script will be to take one panorama and have the user specify a direction (or point on the panorama) and a field of view and correct that t...
by fmw42
2017-09-18T19:26:28-07:00
Forum: Users
Topic: converting from floating point to integer
Replies: 10
Views: 123

Re: converting from floating point to integer

MIFF is not automatically floating point supported. You need to add some defines. To specify a single-precision floating-point format, use -define quantum:format=floating-point. Set the depth to 64 for a double-precision floating-point format. This is the same for TIFF as well in Imagemagick when sa...
by fmw42
2017-09-18T19:01:55-07:00
Forum: Users
Topic: converting from floating point to integer
Replies: 10
Views: 123

Re: converting from floating point to integer

It should be %[fx:maxima] and %[fx:minima].

HDRI supports values larger than Q16 range.
by fmw42
2017-09-18T18:30:06-07:00
Forum: Users
Topic: converting from floating point to integer
Replies: 10
Views: 123

Re: converting from floating point to integer

Using magick identify -verbose a.tif Image: a.tif Format: TIFF (Tagged Image File Format) Mime type: image/tiff Class: DirectClass Geometry: 500x501+0+0 Units: PixelsPerInch Type: Grayscale Endianess: LSB Colorspace: Gray Depth: 64/16-bit Channel depth: Gray: 16-bit Channel statistics: Pixels: 25050...
by fmw42
2017-09-18T16:22:40-07:00
Forum: Users
Topic: converting from floating point to integer
Replies: 10
Views: 123

Re: converting from floating point to integer

P.S. What does identify -verbose tell you about the range of values in the image. Your 64-bit image is probably outside the range of Q16 (0-65525).

Have you tried

Code: Select all

convert image.tiff -auto-level -depth 8 newimage.tif
by fmw42
2017-09-18T16:18:37-07:00
Forum: Users
Topic: converting from floating point to integer
Replies: 10
Views: 123

Re: converting from floating point to integer

Can you post an example Tiff file? You can upload to some free hosting service that will not change your format (or zip it). Then put the URL here.

Also what platform are you using?
by fmw42
2017-09-18T15:12:12-07:00
Forum: Users
Topic: 6 images (cube map) into equirectangular?
Replies: 15
Views: 15452

Re: 6 images (cube map) into equirectangular?

I have just created 2 new scripts to do both these directions, cube2sphericalpano and sphericalpano2cube. Note that they will be slow due to the use of -fx to do the transformation. See my link below for the scripts.
by fmw42
2017-09-18T09:37:48-07:00
Forum: Users
Topic: Trim transparant pixels from psd with clipping mask problem
Replies: 10
Views: 565

Re: Trim transparant pixels from psd with clipping mask problem

You could write a Photoshop action script.
by fmw42
2017-09-17T18:25:03-07:00
Forum: Users
Topic: Deleting rows and columns from an image without leaving gaps
Replies: 9
Views: 179

Re: Deleting rows and columns from an image without leaving gaps

Another option would be to write a script to loop over each tile location and crop that tile skipping over the gridlines. Then montage all the tiles together. This would be the simplest approach, I think. But scripting is different for Windows and Unix-like systems. Of course you need to know ahead ...
by fmw42
2017-09-17T15:49:38-07:00
Forum: Users
Topic: Deleting rows and columns from an image without leaving gaps
Replies: 9
Views: 179

Re: Deleting rows and columns from an image without leaving gaps

What do you want to do with the black background regions? Please always provide your IM version and platform, since syntax may vary. There is no simple method of doing that in Imagemagick, that I know about. You can crop the image into tiles. Then chop off appropriate edges of each image. Then you c...
by fmw42
2017-09-17T13:08:55-07:00
Forum: Bugs
Topic: Possible bug -poly
Replies: 10
Views: 546

Re: Possible bug -poly

... to make these functions work properly in IM 7, we must add -colorspace sRGB to get the same results as in IM 6. That's correct, but I think the reason is that one gray channel is the same thing as just one red channel. Yes. That is correct and what magick has explained to me. In the above, 3 im...
by fmw42
2017-09-17T11:49:00-07:00
Forum: Bugs
Topic: Possible bug -poly
Replies: 10
Views: 546

Re: Possible bug -poly

OK. I understand now. You want to keep grayscale as one channel and a separate colorspace. In IM 6 grayscale was 3 channel and treated as if color. So in IM 7 we are mixing colorspaces. In the above, you have averaged the red channel from each of the 3 image. But only average the green and blue chan...
by fmw42
2017-09-17T10:18:55-07:00
Forum: Bugs
Topic: Possible bug -poly
Replies: 10
Views: 546

Re: Possible bug -poly

IMv7 is channel aware. Since checks.jpg is grayscale, which is one channel on IMv7 (3 in IMv6), it only contributes to the red channel of the evaluation. A fix is to ensure all images are in the same colorspace which assures the same number of channels: magick checks.jpg lena2.jpg zelda3.jpg -color...