Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
I work on a photography website and need to resize user's photos down to photos that are no bigger than 600x600. The uploads are jpeg files and the current command I am using gives alot of artifacts. I have upped quality to 100 and although less artifiacts, still not as acurate as photoshop. Any suggestions on the best command to downsize high res photos (we are talking photos from Digital SLRs) for the most minimal amount of artifacts, distoration in colour, etc.
I have tried with resize and the new order and I don't see any difference in quality. So I upped -quality to 100 and this does provide better quality, but the image appears darker then if I was to do it in photoshop.
I am basically trying to replicate what photoshop does when you resize a large image. Once I have done that, I need to concentrate on decreasing the filesize of the image.
In my experience, IM doesn't darken images or introduce "lots of artifacts" when shrinking photos. (But very low JPEG quality values will introduce artifacts, of course.)
Can you link to examples, with the command(s) that created them? And what version of IM do you use?
Have tried that other command and thats really bad. It' lightens all the whites. The closest thing I have is my original command with quality 100. but colours (mainly reds) do appear slightly darker, especially around the edges.
When I place those images side-by-side, I can't detect any difference. (They look different when placed vertically on LCD monitors, because LCD monitors do that.)
When I examine them with Gimp color picker, sample average, radius 20, on the red truck at location 261,82:
This shows a 1.2% rmse difference. And as I mentioned before, I have been told that PS adds unsharp masking to its process of resizing to sharpen slightly.
Plus IM uses a different and probably better resize filter (Lanczos) and PS uses cubic convolution.
Anthony mentioned the unsharp masking to me, but I have no other verification. The main issue, I think, would be different resizing filters used by IM and Photoshop. But you can choose matching filters (presumably matching by name), if you want to try that. See the IM page referenced and the -filter option set before -resize.
I can alternate (flicker) the two images in Mac Preview and the PS image is definitely darker. BUT flickering them with my flicker script in the IM display in X11, shows very little difference.
The trouble is that I need to not only replicate as close as I can to photoshop, but also keep filesize as small as possible too. So therefore we have added -strip for that reason. However, it's still much much bigger than a photoshoped version.
Any recommendatiosn on reducing filesize without reducing image quality too much?