javascript - Mobile safari downsamples large images. How to retain? -
I have an HTML page with a 1675px 2640px image. I tried to see it in an iPad and apparently under the mobile safari images. We wanted to show a high quality image but Safari banned this.
I am looking for a solution to keep the image size. I'm looking at it on Mobile Safari in iPad 3. People are suggesting using another browser but by default, we are using Mobile Safari.
Are there any CSS, Javascript or other solutions for this restriction?
I'm sure you are going to love this answer, but in a nutshell looks like this : "You can not get 1: 1 large size picture".
A little more answer is that Apple intentionally forces things to work like this because the way this work was done was not to fully load the image before, or Accident.
Now for a complete answer with the quote ...
The point is, when the image gets decoded / decomproved, then compare the images There is a whole heck of more RAM space, the size of the file. Apple's formula is that a device with 512 MB of RAM, just like the iPad 3, will refuse the non-JPEG images above 5 megapixels, as a result:
height * width Maximum decoded image size for JPEG 32 megapixels Using SubSmpling Jpeg images may be up to 32 megapixels due to submopling, which allows JPEG decoding to images in a size that has a number of sixteen pixels. Images of JPEGs over 2 megapixels are subsomplied, which are decoded for a lower size. JPEG Subsystem allows the user to view images from the latest digital cameras.
Note that this 2-megapixel is the full-size JPEG view limit, which is 2 * 1024 * 1024. As your image is slightly larger than 4 megapixels, it will be reduced on iPad 3. And no, in reality there is no such thing that you can do to implement it without using external programs.
External program for the minimum improvement, look at this link, where a person has recommended GoodReader:
And here is another stack overflow with the same question / answer doubles Is:
Comments
Post a Comment