aspose file tools*
The moose likes Android and the fly likes How to set the bitmap height at runtime Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Mobile » Android
Bookmark "How to set the bitmap height at runtime" Watch "How to set the bitmap height at runtime" New topic
Author

How to set the bitmap height at runtime

chetan dhumane
Ranch Hand

Joined: Jan 07, 2009
Posts: 629



I am saving the text as a image.But whenever I get 2-3 paragraphs of text whatever image I get is not fitting into the bitmap.I am not able to see the complete text in one bitmap.
How do I increase the height of the bitmap dynamically.(i.e. It should depend on the text)

http://www.androcid.com/
chetan dhumane
Ranch Hand

Joined: Jan 07, 2009
Posts: 629

No reply
Lester Burnham
Rancher

Joined: Oct 14, 2008
Posts: 1337
Probably because it's entirely unclear what you're trying to do. You mention "text" repeatedly, yet there is no code that deals with text of any kind.
chetan dhumane
Ranch Hand

Joined: Jan 07, 2009
Posts: 629



Now you can think on this code.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to set the bitmap height at runtime
 
Similar Threads
Not able to write the image to file
Serilization issue in string object ?
need help understanding relative path and absolute path
Rescaling images in android livewallpaper
OutOfMemoryError... Whats the solution?