
On Mon, Mar 26, 2012, at 10:27 AM, Brian May wrote:
I have an Apache server that serves a large static jpeg file. It originally came from a scanned photo.
Most programs display this fine, including Firefox and Chromium that come with the latest Ubuntu. If I look at the file, I can't see any signs of missing regions or other corruption (not including spots from the original scanned image of course).
Firefox under windows displays a message that the image cannot be displayed due to errors.
Android 2.3.4 running on my Galaxy S2. says "An internal server error occurred. Please try again later." which is nonsense, as the apache log file says the server provided the file without errors.
Programs like Gimp, gthumb, and display all seem to load the file ok.
Any ideas?
Run "jpeginfo -c" on the JPEG file and see if it reports any errors. I have found it to work well on a range of malformed JPEG images. You can get it from http://www.kokkonen.net/tjko/projects.html and there is a package for Ubuntu. Regards Graeme