BitmapFactory.decodeStream(...)

On Sun, Jan 4, 2009 at 11:55 AM, nickthecook <nickthec...@gmail.com> wrote:
>
> Hello all,
>
> I'm looking for a way to work with JPEG images read from a file in
> Android. Specifically, I would like to scale them, and be able to get
> their height and width.
>
> I can get an InputStream to a JPEG file on the SD card, and I can work
> with the raw bytes, but I'd like something a little more high-level.
>
> Bitmap seems to be able to encode JPEGs, but not decode them.
>
> Thanks!
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to