Have you tried setting the bounds to a 320x480 rectangle of the
drawable and loading that?

On May 22, 4:13 am, orux <[email protected]> wrote:
> Hello,
>
> I am working with big png images, 6000x6000 pixels, for example.
>
> I want to show a fragment, 320x480 pix for example, with full
> resolution, without scaling first the whole image. But I can't create
> an initial 6000x6000 bitmap because an obvious out of memory problem,
> and then extract a fragment.
>
> How can I do that with android API?
> Is it posible? or,
> I need an external advanced image API. or
> I need to write my own png decoder (I think that it should not be
> easy).
>
> Thanks!
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to