Images still blurry after optimisation output

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?".
Post Reply
pbul2004
Posts: 8
Joined: 2018-02-14T04:09:23-07:00
Authentication code: 1152

Images still blurry after optimisation output

Post by pbul2004 »

Hi there,

I am finding that the output images are still pretty blurry. I have attached the before and afters below: -

Picture 1:
Before:
https://www.dropbox.com/s/ke9tx581fn6ip ... e.jpg?dl=0
After: -
https://www.dropbox.com/s/ndw2y2t23xppz ... r.jpg?dl=0

Picture 2:
Before:
https://www.dropbox.com/s/4qeefpnnqxy76 ... e.jpg?dl=0
After: -
https://www.dropbox.com/s/akrpennaq52s2 ... r.jpg?dl=0

Am i doing something wrong? My script is as follows:

#!/bin/bash

cd input
list=$(ls *.JPG)
for img in $list; do
inname=$(convert -ping $img -format "%t" info:)
convert $img -strip -colorspace sRGB -resize 700x466! -interlace JPEG -sampling-factor 4:2:0 -quality 80 ../output-run2/${inname}.jpg
done

echo Success: Optimised images in /output-run2

Any help on this would be great

thanks
snibgo
Posts: 12159
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Re: Images still blurry after optimisation output

Post by snibgo »

Images for the web are commonly sharpened. See http://www.imagemagick.org/script/comma ... ptions.php , the "-sharpen" and "-unsharp" options.

When an image is downsized for the web, I like the method shown in Resampling with halo minimization
snibgo's IM pages: im.snibgo.com
Post Reply