Open GoogleCodeExporter opened 8 years ago
hmmm.. any image? what is the file size? I think it can support pretty big
images.
Original comment by j...@gmail.com
on 6 Jul 2007 at 5:20
Yeah, it seems to be any image. I experimented with some plain white PNG's from
photoshop to see what the
limits are. The largest image I can display is 1747x1200. If I go to 1748x1200
or 1747x1201, the image will not
load.
I attached an image that fails to load on my iPhone.
Original comment by bwan...@gmail.com
on 6 Jul 2007 at 5:37
Attachments:
curious. does the same hold true for jpeg? I'm under the impression that they
can be much bigger.
Original comment by j...@gmail.com
on 6 Jul 2007 at 5:39
I just tried a 1920x1200 screen grab in jpeg, that displays, but it resizes to
480x300.
Original comment by bwan...@gmail.com
on 6 Jul 2007 at 5:41
how odd. and won't let you zoom in?
I suppose we could scale the image to the size you specified, but it'll require
the javascript be redone to handle
the scaling. it may take a little while.
Original comment by j...@gmail.com
on 6 Jul 2007 at 5:48
Yeah, it actually says in the title bar the image is 480x300, so it must be
resizing it in the cache before it is
even drawn.
I also tried sending a large png image to mail, and it can't display them there
either. It just spins "loading..."
forever.
I can work on the javascript scaling changes, but how would it determine the
original size of the image to get
the scaling ratio correct? I assume javascript would need to just call a page
that returns the resolution, and if
that differs from the retrieved image size, switch to the scaled functions.
Original comment by bwan...@gmail.com
on 6 Jul 2007 at 5:55
hmm... good point. right now the image size itself is used.
I've been avoiding a second request to get metadata about the image, but this
might require it.
What we should do is send both an origin and a size as a second xml chunk. This
will support a future mode
with partial screen updates.
Original comment by j...@gmail.com
on 6 Jul 2007 at 6:05
Original issue reported on code.google.com by
bwan...@gmail.com
on 6 Jul 2007 at 3:56