Search found 10281 matches

by snibgo
2018-06-21T13:27:59-07:00
Forum: Bugs
Topic: “JPEG” algo treats JPEGs differently when combining to a PDF
Replies: 10
Views: 103

Re: “JPEG” algo treats JPEGs differently when combining to a PDF

Sorry if I misunderstood you. But surely any change reduces quality (by definition)? The only way of "maintaining maximum quality" is by not changing at all. As far as I know, simply “integrating” JPEG into PDF is possible, but IM doesn't do that. It reads an image, which might be JPEG or some other...
by snibgo
2018-06-21T09:45:31-07:00
Forum: Users
Topic: how to problems since upgrading ?
Replies: 3
Views: 80

Re: how to problems since upgrading ?

In addition to what Fred says, note that "-crop 256x256" will give exactly four images only if its input is exactly 512x512 pixels. In current IM, resizing with "-resize 512x512" won't guarantee that. If you want exactly 512x512, use "!" suffix, ie "-resize 512x512!".
by snibgo
2018-06-21T09:26:39-07:00
Forum: Users
Topic: Why are spaces forbidden in the -convolve argument
Replies: 3
Views: 53

Re: Why are spaces forbidden in the -convolve argument

The shell (bash, or Windows CMD, or whatever) breaks the command line at spaces into arguments, passing each of those separately to the executable binary. But it treats a quoted string as a single arguments, even if it contains spaces. For Windows, use double-quote: ". For bash, use single-quote ' o...
by snibgo
2018-06-21T09:21:36-07:00
Forum: Bugs
Topic: “JPEG” algo treats JPEGs differently when combining to a PDF
Replies: 10
Views: 103

Re: “JPEG” algo treats JPEGs differently when combining to a PDF

I think the question is: "I have JPEG files. I want to put them inside PDF wrappers, guaranteeing the JPEG doesn't change. Is that possible with ImageMagick?"

I think the answer is: "No."
by snibgo
2018-06-20T06:12:19-07:00
Forum: Users
Topic: Compositing thousands of images
Replies: 5
Views: 148

Re: Compositing thousands of images

Your first "-size 5000x5000" does nothing, because the first convert doesn't create a canvas. Yes, re-reading and de-compressing those five PNG files thousands of times wastes time. You could first convert them to MIFF or MPC files, and read those instead of PNG files. To avoid re-reading the five i...
by snibgo
2018-06-20T02:55:17-07:00
Forum: Users
Topic: TIFF with alpha produces a corrupt output when JPG compressed.
Replies: 9
Views: 186

Re: TIFF with alpha produces a corrupt output when JPG compressed.

Okay, a Photoshop problem.

Is JP2 an option for you? It compresses photos well, with transparency, and responds to "-quality" in the same way as JPG.

Code: Select all

magick toes_holed.png -quality 40 t.jp2
But JP2 isn't widely supported. I expect current Photoshop supports it, but you'll need to test.
by snibgo
2018-06-19T15:31:15-07:00
Forum: Developers
Topic: Jaggy edges
Replies: 6
Views: 196

Re: Jaggy edges

stockphotos wrote:Our current version is: Version: ImageMagick 6.7.7-10
That is very very old. I suggest you upgrade. Is your Ghostscript also old? If before about v9.19, I suggest you also upgrade that.
by snibgo
2018-06-19T15:24:22-07:00
Forum: Users
Topic: determining the pixel aspect ratio of a TIFF
Replies: 9
Views: 184

Re: determining the pixel aspect ratio of a TIFF

Don't use an image hosting website. They often convert the image to something else for display. Some allow the original to be downloaded, but some discard the original. Instead, use a file hosting site. dropbox.com seems to work fine. But you can do the test yourself: magick identify -verbose yourfi...
by snibgo
2018-06-19T14:32:44-07:00
Forum: Users
Topic: determining the pixel aspect ratio of a TIFF
Replies: 9
Views: 184

Re: determining the pixel aspect ratio of a TIFF

You asked about TIFF, but the link is to a PNG?

"hPq53nZ - Imgur.png" seems to have square pixels.

But I've remembered how pixel aspect ratio is recorded: in the density. Square pixels (the normal situation) have equal densities in x and y. Non-square have unequal densities.
by snibgo
2018-06-19T13:07:53-07:00
Forum: Users
Topic: determining the pixel aspect ratio of a TIFF
Replies: 9
Views: 184

Re: determining the pixel aspect ratio of a TIFF

easyhtrees wrote:How do I measure this using ImageMagick for Windows?
Please link to a sample TIFF with non-unity pixel aspect ratio. Then we can try a few things.
by snibgo
2018-06-19T09:51:09-07:00
Forum: Users
Topic: Compare images script
Replies: 8
Views: 126

Re: Compare images script

Can you crop just one of the images with "magick compare"? Depending on the workflow and number of comparisons, there may be a performance advantage in doing the crops just once, instead of repeatedly reading the same large card and cropping the same area from it. Anyhow, there are always alternativ...
by snibgo
2018-06-19T08:32:27-07:00
Forum: Users
Topic: can somebody help me?
Replies: 2
Views: 67

Re: can somebody help me?

"magick" is an image processor. It takes one or more inputs, and makes one or more outputs. Your commands have an output (at the end) but no input.
by snibgo
2018-06-19T08:05:43-07:00
Forum: Users
Topic: Compare images script
Replies: 8
Views: 126

Re: Compare images script

Okay, so you have one playing card. You want to crop a certain area from it, and compare to the same crop of each of the 52 cards in the pack. I suppose you want to find the closest. With luck, one will be an exact match. I guess you don't want to do this job just once, because it would be easier to...
by snibgo
2018-06-19T07:06:33-07:00
Forum: Users
Topic: Compare images script
Replies: 8
Views: 126

Re: Compare images script

I've moved it to "Users". What version of IM? On what platform (eg bash, Windows etc). See the "magick compare" command, and the "-compare" operation of the "magick" command. I'm unsure what you are comparing. If you have an example picture, and a set of photos, do you want to compare the entire exa...
by snibgo
2018-06-19T05:39:48-07:00
Forum: Users
Topic: TIFF with alpha produces a corrupt output when JPG compressed.
Replies: 9
Views: 186

Re: TIFF with alpha produces a corrupt output when JPG compressed.

Yes, the pre-compiled binaries for ImageMagick on Windows includes libtiff. In your "magick -version", the "Delegates (built-in)" line includes "tiff". What does "magick -list format" say under TIFF lines? My version 7.0.7-28 says: TIFF* TIFF rw+ Tagged Image File Format (LIBTIFF, Version 4.0.9) TIF...