Sunday, June 27, 2010

[android-developers] Re: how to play a 8192*8192 image ?

Wow, do you have a big screen TV capable of displaying 8192*8192 pixel
images!?
I doubt it :-)

If you have an HDTV of 1080p, then the max resolution is 1920*1080
(about 2MPixels). There's no need to go larger.

On Jun 27, 12:06 pm, xhy <xhyg...@gmail.com> wrote:
> i want to  paly a 8192*8192 image int a big TV screen,as a result  such a
> big image is needed.
>
> 2010/6/25 Mike dg <vinb...@gmail.com>
>
>
>
>
>
> > I doubt you have an 8192x8192 screen. So figure out what you re
> > actually doing with the image and then only use as much as you need or
> > all of it scaled to screen size.
>
> > On Jun 25, 6:52 am, Mark Murphy <mmur...@commonsware.com> wrote:
> > > On Fri, Jun 25, 2010 at 6:42 AM, xhy <xhyg...@gmail.com> wrote:
> > > > I want to play a   8192*8192 image,but the system exists a "overflow of
> > > > memory" exception,what should i do ? Thank you!
>
> > > That is a ~200MB image uncompressed (8192 x 8192 x 3 bytes), and you
> > > have 16MB to work with.
>
> > > The simplest option is to use a smaller image to start with.
>
> > > The next-simplest option is to scale the image, as youken suggests,
> > > though this will take some time.
>
> > > The option that keeps your size is to split the image into tiles, like
> > > Google Maps does, and show only a few tiles at a time.
>
> > > --
> > > Mark Murphy (a Commons Guy)http://commonsware.com|
> >http://github.com/commonsguyhttp://commonsware.com/blog|http://twitter.com/commonsguy<http://github.com/commonsguyhttp://commonsware.com/blog%7Chttp://twit...>
>
> > > _The Busy Coder's Guide to *Advanced* Android Development_ Version 1.6
> > > Available!
>
> > --
> > You received this message because you are subscribed to the Google
> > Groups "Android Developers" group.
> > To post to this group, send email to android-developers@googlegroups.com
> > To unsubscribe from this group, send email to
> > android-developers+unsubscribe@googlegroups.com<android-developers%2Bunsubs­cribe@googlegroups.com>
> > For more options, visit this group at
> >http://groups.google.com/group/android-developers?hl=en
>
> --
> xhy- Hide quoted text -
>
> - Show quoted text -

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment