<p>When I upload a JPG image through Assets, the image quality is terrible. I dont mean a slight difference for web optimisation, but I mean REALLY bad! See screenshot. </p>

<p>Can't find any helpful about this issue which is strange. A few other posts mention the issue with image transforms, but this is not an image transform, its just the main image uploaded. Opening the image direct on the server shows this bad image so the original is clearly processed. I would not want our images processed if it affects quality (we optimise images ourselves). </p>

<p>I have not done much at all really, no plugins/modules added yet, just a basic template and a few text and asset fields. Its just to demonstrate Craft to a customer at the moment. </p>

<p>I have many CMSs on this server, like Wordpress and other Craft 2 installs, and we don't get this issue with other systems. </p>

<p>I have GD installed, I would prefer to keep that and not use ImageMagick, shouldn't have to use any image processing for just image upload should I? </p>

<p>Interestingly, if I open the original image on my computer and do a screenshot and create a new image from that, then upload that new image, it does not have such bad quality, it looks OK. So maybe its something inside the image. But the images are already used on another website (Wordpress) fine. I was hoping I can just import the images into Craft and not have to do any manual processing first.</p>

<p>Photoshop shows the image as RGB colour at 8 bits.  </p>

<p>GD Spec from in Craft PHP Info:</p>

<pre><code>GD Support  enabled
GD Version  bundled (2.1.0 compatible)
FreeType Support    enabled
FreeType Linkage    with freetype
FreeType Version    2.4.11
GIF Read Support    enabled
GIF Create Support  enabled
JPEG Support    enabled
libJPEG Version 6b
PNG Support enabled
libPNG Version  1.5.13
WBMP Support    enabled
XPM Support enabled
libXpm Version  30411
XBM Support enabled
WebP Support    enabled
gd.jpeg_ignore_warning  0
</code></pre>

<p><a href="https://i.sstatic.net/lKEmj.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/lKEmj.png" alt="enter image description here"></a></p>

<p>Thanks</p>

<p><strong>Update July 24th 2019</strong>: Issue now gone, see comment below for further info. </p>

CC BY-SA 4.0
2019-03-20T08:29:37.100Z
It's not a solution as such but can you try to add this file via FTP and run Utilities → Asset Indexes → Update asset indexes. Does the file show properly then?
Oli
CC BY-SA 4.0
2019-07-24T21:40:21.823Z
Sorry only just noticed this comment. I'm looking into it again as the customer raised it. But i have re-imported all images via FTP and they were fine, then I ran asset re-index and they were fine, then I uploaded images in Assets and the entry and they were fine. So it seems this issue has gone. Since having this issue we have upgraded to PHP 7.2 and many iterations of Craft to 3.2, so maybe something there fixed it.
Laurence Cope
<craft3><assets><image>
Assets uploaded image quality is terrible
# Assets uploaded image quality is terrible

(Asked by: username_0 on 2019-03-19)

When I upload a JPG image through Assets, the image quality is terrible. I dont mean a slight difference for web optimisation, but I mean REALLY bad! See screenshot. 
Can't find any helpful about this issue which is strange. A few other posts mention the issue with image transforms, but this is not an image transform, its just the main image uploaded. Opening the image direct on the server shows this bad image so the original is clearly processed. I would not want our images processed if it affects quality (we optimise images ourselves). 
I have not done much at all really, no plugins/modules added yet, just a basic template and a few text and asset fields. Its just to demonstrate Craft to a customer at the moment. 
I have many CMSs on this server, like Wordpress and other Craft 2 installs, and we don't get this issue with other systems. 
I have GD installed, I would prefer to keep that and not use ImageMagick, shouldn't have to use any image processing for just image upload should I? 
Interestingly, if I open the original image on my computer and do a screenshot and create a new image from that, then upload that new image, it does not have such bad quality, it looks OK. So maybe its something inside the image. But the images are already used on another website (Wordpress) fine. I was hoping I can just import the images into Craft and not have to do any manual processing first.
Photoshop shows the image as RGB colour at 8 bits.  
GD Spec from in Craft PHP Info:
GD Support  enabled
GD Version  bundled (2.1.0 compatible)
FreeType Support    enabled
FreeType Linkage    with freetype
FreeType Version    2.4.11
GIF Read Support    enabled
GIF Create Support  enabled
JPEG Support    enabled
libJPEG Version 6b
PNG Support enabled
libPNG Version  1.5.13
WBMP Support    enabled
XPM Support enabled
libXpm Version  30411
XBM Support enabled
WebP Support    enabled
gd.jpeg_ignore_warning  0


Thanks
Update July 24th 2019: Issue now gone, see comment below for further info.

**Tags:** craft3, assets, image

> **Comments:**
> **username_1**: It's not a solution as such but can you try to add this file via FTP and run Utilities → Asset Indexes → Update asset indexes. Does the file show properly then?  
> **username_0**: Sorry only just noticed this comment. I'm looking into it again as the customer raised it. But i have re-imported all images via FTP and they were fine, then I ran asset re-index and they were fine, then I uploaded images in Assets and the entry and they were fine. So it seems this issue has gone. Since having this issue we have upgraded to PHP 7.2 and many iterations of Craft to 3.2, so maybe something there fixed it.  

---

## 0 answers

