Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

JPG image partially gray while loading

Tags:

jpeg

Anyone knows why the image, shown below, is partially gray while loading? I assume it has something to do with progressive JPG, but I haven't seen the grayscale effect before. Is there some kind of a JPG export setting that enables that? How is it called? Can I disable it?

Progressive JPG loading

Direct image link

like image 391
Konrad Dzwinel Avatar asked Oct 20 '15 12:10

Konrad Dzwinel


Video Answer


1 Answers

Edit:

The problem could either be the problem described in @KonradDzwinel answer OR my answer, both could look identical:


What is the problem

For some reason the file is saved or produced in way that make the file we call it Lossless JPEG.

I am not sure which software, tool or how this problem is was produced, but that won’t change the fact that your file had have some issues or even corrupted.

How to find the problem in the file

Your file was saved in way that it works identical but it had issues. To check whether your file is healthy or not, it requires a tool to scan/analysis the image file. I use a very nice and easy to use tool (software) called JPEGsnoop (link for download). This tool is free and I used it to scan and analysis your image files for problems.

Your file comes up with few places with following note, (the screen-shot btw shows only one note, but there were more):

NOTE: Scan parsing doesn’t support this SOF mode.

enter image description here

After I have re-saved the file correctly and analysis it again, it does not show any problems or notes:

enter image description here

What I did to create a problem FREE image file

For testing I have used Photoshop 5.5 to open the Lossless file and save it with new name with default jpeg (since I don't have the original file). But correctly I assume you have the original file, and I assume you have Photoshop any version does not matter OR any other image tool. Try to optimize your jpeg file best possible, analysis it and remember/note the saving setting for future wise image saving.

Here is an example of my Photoshop save settings, which result in problem FREE file:

enter image description here

How can I learn more about Lossless JPEG

I won’t go in details of this problem but I will leave some link that explain it in details, I hope also you find this is useful to solve your issue:

  • http://www.impulseadventure.com/photo/fix-corrupt-jpeg-photo.html
  • http://fileformats.archiveteam.org/wiki/JPEG
  • http://fileformats.archiveteam.org/wiki/Lossless_JPEG_%28original%29
  • http://www.howtogeek.com/142174/what-lossless-file-formats-are-why-you-shouldnt-convert-lossy-to-lossless/

Software JPEGsnoop

http://www.impulseadventure.com/photo/jpeg-snoop.html

like image 110
Maytham Avatar answered Nov 18 '22 03:11

Maytham