[android-developers] Re: Bitmaps (.bmp) don't show up in 'Pictures' when on SDCard

2009-03-08 Thread Gavin Aiken
Thanks clark, I wasn't aware png was lossless, I changed the format and it
all works fine!

Cheers,

Gav

On Sat, Mar 7, 2009 at 5:35 PM, clark clarkd...@gmail.com wrote:


 The .png file format employs lossless data compression.  You may give
 that a try.  I even through a .png image onto my SD card and it shows
 up within the Pictures application just fine.


 ~Clark

 On Mar 7, 8:13 am, Gav gav.ai...@googlemail.com wrote:
  Hi,
 
  For the purpose of testing I need to store some small (20x20px)
  bitmaps on the SDCard of the emulator.
 
  If I store the files in jpg format then media scanner picks them up
  and I can view them with the stock 'Pictures' application.
 
  When I use the '.bmp' file format as created via the JAI based tool I
  am testing, the files do not show up on the phone, a look at the file
  explorer shows the files to be there next to their jpg equivalents on
  the SDCard under the folder pictures.
 
  I mount the SDCard to add the files if it makes any difference.
 
  I need the files to be lossless ARGB_ format, is there something
  other than .bmp I can use?
 
  Kind regards,
 
  Gav
 


--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



[android-developers] Re: Bitmaps (.bmp) don't show up in 'Pictures' when on SDCard

2009-03-07 Thread clark

The .png file format employs lossless data compression.  You may give
that a try.  I even through a .png image onto my SD card and it shows
up within the Pictures application just fine.


~Clark

On Mar 7, 8:13 am, Gav gav.ai...@googlemail.com wrote:
 Hi,

 For the purpose of testing I need to store some small (20x20px)
 bitmaps on the SDCard of the emulator.

 If I store the files in jpg format then media scanner picks them up
 and I can view them with the stock 'Pictures' application.

 When I use the '.bmp' file format as created via the JAI based tool I
 am testing, the files do not show up on the phone, a look at the file
 explorer shows the files to be there next to their jpg equivalents on
 the SDCard under the folder pictures.

 I mount the SDCard to add the files if it makes any difference.

 I need the files to be lossless ARGB_ format, is there something
 other than .bmp I can use?

 Kind regards,

 Gav
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---