Well, diff
ing the output of identify -verbose
solved the mystery: The not-working image was saved as CMYK
...
Last active
December 21, 2015 13:59
-
-
Save Prinzhorn/6316655 to your computer and use it in GitHub Desktop.
Android default browser renders some JPEG images blank.
I have two JPEG images (which I can't share), both were created using ImageMagick and I have different sized versions of each (50, 100, 200, 400 and 800px squares). One image works perfectly in the Android default browser the other doesn't. Independent of the size.
They're both hosted on S3, here are the URLs (the bucket is obfocusates) and the headers (recorded with Chrome on Desktop, were both images work)
Request
Accept:text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Encoding:gzip,deflate,sdch
Accept-Language:en-US,en;q=0.8
Cache-Control:no-cache
Connection:keep-alive
Host:s3-eu-west-1.amazonaws.com
Pragma:no-cache
User-Agent:Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/28.0.1500.95 Safari/537.36
Response
Accept-Ranges:bytes
Cache-Control:max-age=311040000
Content-Length:13117
Content-Type:image/jpeg
Date:Fri, 23 Aug 2013 07:38:08 GMT
ETag:"ef369ba2d6f174b67f360213520d4a94"
Expires:Wed Aug 16 2023 13:11:53 GMT+0200 (CEST)
Last-Modified:Fri, 16 Aug 2013 11:11:54 GMT
Server:AmazonS3
x-amz-id-2:X
x-amz-request-id:X
Request
Accept:text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Encoding:gzip,deflate,sdch
Accept-Language:en-US,en;q=0.8
Cache-Control:no-cache
Connection:keep-alive
Host:s3-eu-west-1.amazonaws.com
Pragma:no-cache
User-Agent:Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/28.0.1500.95 Safari/537.36
Response
Accept-Ranges:bytes
Cache-Control:max-age=311040000
Content-Length:4038
Content-Type:image/jpeg
Date:Fri, 23 Aug 2013 07:40:02 GMT
ETag:"a93034fdbceb5f417c5235a356c9c437"
Expires:Sun Aug 20 2023 22:31:15 GMT+0200 (CEST)
Last-Modified:Tue, 20 Aug 2013 20:31:16 GMT
Server:AmazonS3
x-amz-id-2:X
x-amz-request-id:X
This must be the weirdest bug. I can't see any difference between the responses and the URLs have the same format.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment