get a small bitmap image from a big bitmap in android.
Hello guys, Can anybody have any idea about how to get a small bitmap image from a big bitmap which is the combination of many bitmaps. Any help will be appreciative. Thanks a lot. ...
Hello guys, Can anybody have any idea about how to get a small bitmap image from a big bitmap which is the combination of many bitmaps. Any help will be appreciative. Thanks a lot. ...
So I'm making a simple game with a few irregularly shaped bitmaps drawn to the canvas every frame. The bitmaps move around the canvas via simple motion math. I'd like to detect when the user clicks on the bitmaps. They are PNGs with transparency of somewhat different shapes, and they are rotated via a matrix. Is there a way to capture...
I implemented a ImageCache. But I'm curious about what type to store in it will cost less. Now I use BitmapFactory to get the images from the internet, so I get a Bitmap first. Should I convert to a Drawable to store in my ImageCache or just store the Bitmap is fine? Any ideas? Thanks. ...
hello guys, can anybody tell me how to refresh or reset a bitmap or canvas to draw another image on it? actually i have a map binary file which contains bitmap tiles in bytes now problem is i have a buffer image with buffer image i get screen image to display. so when i move my screen image i need to refresh my buffer image and draw n...
I'm using the following code to grab images from the web. It uses Gridview and depending on position, picks a URL from an array. It works but the loading of images is often hit or miss. Almost every time I start the app, a different number of images load. It also has issues when changing from portrait to landscape view, 5 out of 10 imag...
I am trying to extract the palette from a 5-6-5 (16bit) bitmap image that I have produced using ImageConverter Plus from an original Photoshop file. I need to read out the palette and compare it to the palette I have elsewhere for another image. Is there a piece of freeware (or not) software that can do this? I can read palette files i...
Hello, I have a ImageView acting as a top banner on top of a webview. The image of this banner is created in execution time dependending on the resolution of the device. The height of the banner is always the same for each resolution. The only thing that changes is the width, which changes according to the orientation. But, since the wi...
So I'm loading images from a web service, but the size of the images are sometimes smaller or bigger than other images and the visualization looks silly when I put them in a ListView in android. I'd like to fix the size of my ImageView so that it only shows a portion of the image if it's larger than a preset amount. I've tried everythi...
Hello all, I have problem with displaying bitmap image on imageview on high density screen (480x800). When the bitmap image loaded from file on sdcard, the image does not scale to fit hdpi screen. On medium density screen it works normal (320x480). public static Bitmap getBitmapFromFile(String src) { File file = new File(src); ...
Hi, I'm trying to rotate a bitmap (which is bigger than Canvas) keeping it centered with Canvas and repeatedly in time, in order to make it appears as spinning. I wanted to post an image explaining the situation, but I can't (not enough reputations; it's a pitty because I've spent a lot of time doing it :( ). I hope you understand what's...
I've written an iPhone application that takes input from a user and updates a bitmap context based on the input. After the update, it then updates the display of a UIView. I am accomplishing such by implementing drawRect in a UIView subclass. Currently I am using Quartz 2D. Given that the updates are occurring multiple times per second,...
Hi! I need help with CUDA C. I am try programming image processing tools. And i can't understand, how use Bitmap(c++) and CUDA. Help me please. P.S. sorry for my bad english. ...
I am trying to convert my SurfaceView (camera preview) into a Bitmap for face detection on the fly. I am receiving a not null image but when I display it onto a view it appears to be plain black. Any ideas what might be the reason and how to proceed? (I believe it is difficult but not impossible to extract the bitmap from a SurfaceView ...
I have a hobby project that includes me driving a LCD by my serial port. I'd like to display an image with 128x128 pixels, but I'm not sure what image format to use. I'm limited to either "off" or "on" as a state of each pixel. What image format do you recommend? In case it matters, I'm planning on using one of the .NET frameworks wit...
test image here: http://images.plurk.com/tn_4134189_bf54fe8e270ce41240d534b5133884ee.gif I've tried several solutions found on the internet but there is no working solution. I'm using the following snippet code: Url imageUrl = new Url("http://images.plurk.com/tn_4134189_bf54fe8e270ce41240d534b5133884ee.gif"); Bitmap image = BitmapFact...
Hello, I have an application here that has a feature of showing a POI on the map. It's only one POI and it is only drawn when it's actually within the visible screen area. It works perfectly for a while but if I play around zooming in and out and dragging, it will eventually crash. According to Logcat, the reason is always an OutOfMemor...
Hi there, I hope someone can help us. We’re trying to put together an image editor, with similar functionality to Photoshop in Silverlight (but nowhere near as intricate). We’ve hit a weird problem when it comes to creating layers (several independent images in a z-index stack). Layering images on top of each other seems fine, but we wan...
Hello. Lets say i have loaded an image in a bitmap object like Bitmap myBitmap = BitmapFactory.decodeFile(myFile); Now what will happen if i load another bitmap like myBitmap = BitmapFactory.decodeFile(myFile2); What happens to the first myBitmap does it get Garbage Collected or do i have to manually garbage collect it before load...
In Flex, how does one hook into a bitmap or bitmapdata variable so that a function is notified whenever the bitmap's data has changed (pixel has changed, or filter's been added)? I tried setting up binding but it doesn't work. There must be a way to do it, because I can bind an mx:Image to a bitmap via the 'source' attribute, and the...
hi, how could i get an image and a text from the Internet and made a button for my android application dynamically?And draw them in th position i want. i.e by Java code thinks ...