File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Android and the fly likes save bitmap to SdCard Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Mobile » Android
Bookmark "save bitmap to SdCard" Watch "save bitmap to SdCard" New topic
Author

save bitmap to SdCard

alex ki
Greenhorn

Joined: Jan 23, 2013
Posts: 6
hi Guys
im using that code to save bitmap to SdC


the problem is thati dont want to compress the bitmap , mean don't want any change on pixels ""bits""


Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41522
    
  53
PNG is a lossless image compression format (as opposed to JPEG, for example). Have you actually experienced pixels being changed during a roundtrip compression/decompression?


Ping & DNS - my free Android networking tools app
alex ki
Greenhorn

Joined: Jan 23, 2013
Posts: 6
Ulf Dittmer wrote:PNG is a lossless image compression format (as opposed to JPEG, for example). Have you actually experienced pixels being changed during a roundtrip compression/decompression?


i done it with these steps :
get R,G,B from every pixel and convert it to Binary array then change the LSB to 0 or 1
then convert it from binary to dec
then set-pixel method

after that i save it with the code above
i don know where the problem is :S
 
 
subject: save bitmap to SdCard