Image width makes my images look like low quality
<perch:blog id="images" type="image" width="1000" output="tag"/>
<perch:if exists="images">
<img src="<perch:blog id="images" type="image" width="1000" quality="100" label="Images"/>"/>
</perch:if>
This is the code code im using and get this:
How large is the original image?
1134x908px. 1,2 MB.
Does the original have those strange colour casts?
No. Almost as it get much compressed but i have set quality to 100. Ive tested to remove the and it all good. Except i need the width tho.
Sorry, I don't understand. Could you post your diagnostics report?
This my original image: https://bildr.no/image/S0xhVjBG.jpeg
This is the image after ive uploaded it to Perch system with the following code: https://bildr.no/image/ZnI5V0Ni.jpeg
Ah, ok, I thought you were referring to the strange colour casts, but those are in the original too. It looks like it needs more sharpening - try adjusting that attribute.
Tried the sharpen attribute as well, still look the same. It look original if I remove the image width attribute. Weird.
Are you reuploading after changing the settings?
Yes of course. https://bildr.no/image/REhrVHJU.jpeg
Do you have an example of the Perch resized one?
What do you mean? This is the one Perch made: https://bildr.no/image/REhrVHJU.jpeg
Did you rename it? That's not a file name that Perch has generated.
Oh I think the upload-service did that. The file name is "ukraina-i1-w1000.jpg".
Ok. That image looks over-sharpened to me. Are you using GD or Imagick?
Ultimately, your web server is never going to do as good a job as PhotoShop. If the quality needs to be precisely controlled, it may be better to upload at the correct size rather than resizing on the server.
I do not use any editors like that. I agree, but some customers of ours dont have access to Photoshop, so I need to set the sizing and quality in Perch.
Quality is the compression level and controls how much data is discarded to reduce the file size.
What settings do you have currently? It looks like you have sharpening set way too high.
No compression level at all. Just noticed the loss of quality or what to say happened when i imported the images to Assets. Both these images under changed apperance after I imported them into Perch Assets. Is this a known problem?
I would suggest that JPG is a poor choice of format for those images. JPG is ideally suited to photographs, not graphics. How do they look as PNGs?