Search found 12691 matches

by snibgo
2020-02-13T08:35:41-07:00
Forum: Users
Topic: Combining multipage Tiffs with "2 dimension"
Replies: 8
Views: 458

Re: Combining multipage Tiffs with "2 dimension"

"Channel" normally means a component of each pixel: the red channel, or alpha channel, etc. But you seem to mean something different.

Please paste a link to a TIFF file that has "2 channels and 5 frames".
by snibgo
2020-02-12T19:04:45-07:00
Forum: Users
Topic: Identify Returning Incorrect Height Value For Animated GIFs
Replies: 6
Views: 378

Re: Identify Returning Incorrect Height Value For Animated GIFs

DarseZ wrote:...almost as if the 450 and the 800 from the next field were being joined together. That's probably crazy.
That's not crazy. That's correct. Try:

Code: Select all

identify -ping -format "%%w %%h" yourfile.gif
... to see what is happening.

You could insert a space after %%h if you want.
by snibgo
2020-02-12T17:17:52-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?

Your link returns: 403. That’s an error. Your client does not have permission to get URL /yvcnEImQWxhc2u3q6DSSsFyvsqzBbkGtAtocX5lM01NuFC5uG6_E26PHyTugPlCVK_2NoR4upLHdVKFW2K2CF3puTQwiqwaJ_zc67SKUkRhbPU432lg=w1280 from this server. (Client IP address: 2a00:23c7:9098:ca00:4881:12f4:a46:bf3e) Forbidden ...
by snibgo
2020-02-12T16:02:17-07:00
Forum: Users
Topic: Identify Returning Incorrect Height Value For Animated GIFs
Replies: 6
Views: 378

Re: Identify Returning Incorrect Height Value For Animated GIFs

I suggest you run your identify command by itself. You will see why your script doesn't do what you want.

Hint: I suppose you only want the dimension of the first frame, not all the frames.
by snibgo
2020-02-12T11:55:26-07:00
Forum: Bugs
Topic: DNG to JPG results in distorted image.
Replies: 7
Views: 454

Re: DNG to JPG results in distorted image.

As Fred says, please post a link to the DNG file. It is possible that IM or libraw is misreading the file. As far as I know, IM will assume a DNG file is a camera-raw file (eg a mosaiced image) but your file isn't. It contains a number of images (as DNG files often do), but the main image seems to b...
by snibgo
2020-02-12T08:07:40-07:00
Forum: Users
Topic: Appending a group of images
Replies: 4
Views: 352

Re: Appending a group of images

Code: Select all

magick montage *.jpg -geometry +0+0 -tile 1x5 outdir/out.jpg
by snibgo
2020-02-11T20:04:46-07:00
Forum: Users
Topic: How to tile and resize?
Replies: 1
Views: 233

Re: How to tile and resize?

What version of IM, on what platform?

With IM v7.0.8-64, replacing your "convert" with "magick", and your "composite" with "magick composite", it works fine, with tile and resize. If you want to resize original.png before tiling, put that in parentheses:

Code: Select all

 ... ( original.png -resize 1024x ) ...
by snibgo
2020-02-11T11:29:47-07:00
Forum: Users
Topic: Extracting sprites/images from a bigger image
Replies: 17
Views: 841

Re: Extracting sprites/images from a bigger image

For the dust, I suggest you brush the glass of your scanner, and perhaps clean it.

Isolating a background is easier if it is a different colour to the foreground. For example, place a sheet of red paper over the jigsaw pieces before scanning.
by snibgo
2020-02-11T11:25:43-07:00
Forum: Magick.NET
Topic: Determine Final File Size
Replies: 3
Views: 295

Re: Determine Final File Size

TIFF has a choice of no compression, or JPEG compression, or Zip compression etc. PDF is simply a wrapper around a raster image format, which could be compressed with JPEG or Zip or whatever. For good quality JPEG compression of ordinary colour photos, I need about 0.3 to 0.5 bytes per pixel. So a 1...
by snibgo
2020-02-11T10:06:58-07:00
Forum: Magick.NET
Topic: Determine Final File Size
Replies: 3
Views: 295

Re: Determine Final File Size

If the generated files are uncompressed, the size is easily calculated from the number of pixels. For JPG, you can specify a maximum size, and IM will find the quality that delivers that size. Otherwise, the easiest method is to create the file and find its size. I suppose your application might est...
by snibgo
2020-02-11T07:14:21-07:00
Forum: Users
Topic: Cache resources exhausted
Replies: 5
Views: 363

Re: Cache resources exhausted

jmspaggi wrote:I can decrease the limit, I can not increase it.
I suppose you did this with "-limit" options on the command line. Yes, these are only more restrictive. You need to change the limits in policy.xml.
by snibgo
2020-02-10T05:59:57-07:00
Forum: Users
Topic: Converting grayscale ppm to png or jpg gives only black and white
Replies: 10
Views: 500

Re: Converting grayscale ppm to png or jpg gives only black and white

Note that 256 is a very strange maxval, as that needs 9 bits. At one byte/channel/pixel, the expected maxval would be 255. But the file size and stated dimensions suggest there are 6 bytes total per pixel.
by snibgo
2020-02-10T02:24:57-07:00
Forum: Bugs
Topic: reading txt:
Replies: 1
Views: 203

reading txt:

Until recently, the TXT: "ImageMagick pixel enumeration" format did not need to list all the pixels to be successfully read. The behaviour that not all pixels needed to be given is documented eg in https://www.imagemagick.org/Usage/files/#txt : Reading TXT images is also valid. You do not need to de...
by snibgo
2020-02-10T00:21:32-07:00
Forum: Users
Topic: Chrome colored border on an Image
Replies: 3
Views: 293

Re: Chrome colored border on an Image

Chrome isn't a colour, but a metallic effect based on a 3D effect and lighting. See https://www.imagemagick.org/discourse-server/viewtopic.php?t=23904 and https://www.imagemagick.org/Usage/fonts/#metalic Instead of starting from a rasterised text image, you could start from a hollow rectangle like a...