Android :: High Quality Image Resizing / Scaling
Nov 17, 2010
I need to scale down images coming from a Network stream without losing quality. I am aware of this solution Android: Strange out of memory issue but it is too coarse - inSampleSize is an integer and does not allow finer control over the resulting dimensions. That is, I need to scale images to specific h/w dimensions (and keeping aspect ratio). I dont mind having a DIY bicubic/lancoz algorithm in my code but I cant find any examples that would work on Android as they all rely on Java2D (JavaSE). EDIT: Ive attached a quick source. The original is 720x402 HD screen capture. Please ignore the top 2 thumbnails. The top large image is resized automatically by android (as part of layout) to about 130x72. It is nice and crisp. The bottom image is resized with API and has severe artifacting. Code...
View 1 Replies
Mar 17, 2010
I want to display an image from an url with an Webview at Android. With Android phones with Version 1.5 and 1.6 there is no problem. but the same pic and the same code on an AndroidPhone with Version 2.0 and the pic is totaly pixelated. Like Android is resizing the image first to a smaller one and then resizing it back to "normal" size. Unfortunately its important to display the pic without any quality loss. I tried to integrate it in the sourcefolder to show it as an normal image, but at Android 2.0 i get an exception because the image is to big. (At Android 1.6 there is no problem) Any ideas how i can display the image without quality loss with Android 2.0 ?
View 2 Replies
View Related
Feb 17, 2010
I am working on displaying an image and placing an icon on top of it... clicking the icon will show an enlarged version of the image...
though putting the imageview holding the image in a LinearLayout scales the image to the width of the dialog, the problem is that i need to display the image in a dialog but the image is very high resolution and hence is far bigger than the width of the dialog...
I need to show the actual image with scrolling for both ways to see the whole image... But whenever i try putting the imageView in a scrollview the top of my imageview is blank... and again though image scrolls downwards the width is scaled to the width of the dialog...
View 2 Replies
View Related
Jan 24, 2010
I want to do an image gallery like in iphone. I want to show low quality (pre-resized) images and when the image is active I want to process the big image and show the result in the gallery. I have two questions. How to attach a listener on the animation stop in gallery? And how to access an image after this action?
View 1 Replies
View Related
Sep 17, 2009
I can't wait to try out the new 1.6 goodies, but first I'm retargeting my existing applications, and I decided to start with Daisy Garden. Changing to android:targetSdkVersion="4" caused the application to segfault on startup and discovered that the BitmapFactory.decodeResource method now performs scaling based on screen density. In this case the behaviour is unwanted - I'm loading a set of masks that are scaled later during composition. So I've quickly inserted the following method, which seems to perfectly mimic the previous behaviour:
private Bitmap loadBitmap(int resId) { BitmapFactory.Options options = new BitmapFactory.Options(); options.inTargetDensity = 1; options.inDensity = 1; return BitmapFactory.decodeResource(context.getResources(), resId, options);
}
View 19 Replies
View Related
Oct 17, 2010
I'm wondering if theres a descent app which serves primarily as a text messenger but with an easy interface to insert a video or image. Guess I got spoiled from this feature on the iphone...
View 3 Replies
View Related
Sep 24, 2010
I have the following AlertDialog with an image inside it:As you can see there is a small gap just above and just below the image. I'd like to remove that gap.My layout xml looks like:
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/alert_thumb_root"
android:layout_width="wrap_content"
android:layout_height="wrap_content" >
<ImageView android:id="@+id/thumb"
android:layout_width="wrap_content"
android:layout_height="wrap_content" />
</LinearLayout>
View 2 Replies
View Related
Dec 1, 2009
Does anyone know how to set youtube to always run in "high-quality mode"? It will be more confortable to set it once and forget it.
View 20 Replies
View Related
May 2, 2010
Is there anyway to set the high quality setting to default so you dont have to change it everytime?
View 2 Replies
View Related
Mar 3, 2010
I moved from the iphone to the hero and so far things have been great. Now to my question. On my iphone I had jailbroke it and was able to get an app to fool the phone into thinking it was on wifi when using the network data. This resulted in high quality youtube playback like when in wifi at home. Is there an app or a way to get the same thing on the android OS? Been looking around and have yet to find something. On another note. I have two gmail accounts set up on my hero and only get the proper push with one of them. Is this common?
View 1 Replies
View Related
Mar 8, 2010
From our android app I launch Youtube app with the proper video id. This works well across all devices. On Nexus One the youtube app defaults to using low quality video. I have added &fmt=18 in the url (for eg: http://www.youtube.com/watch?v=NsjadfLYnD4&feature=youtube_gdata&fmt=18 , see this blog for details http://blog.jimmyr.com/High_Quality_on_Youtube_11_2008.php) which should have forced a high quality video but doesn't.Anyone know a work around for this ? The screen resolution on nexus is really beautiful it saddens me that I can't make use of this to play hq videos.
View 1 Replies
View Related
Jul 7, 2010
Are there any HIGH QUALITY cases for the EVO available NOW? IMO cases from Otterbox and Case Mate are the best. However, NEITHER manufacturer has a case that is available NOW. I am tired of waiting. Anybody got a GREAT case? Please reply.
View 8 Replies
View Related
Aug 3, 2010
I am loading image url on to webview it fetching the image as well but I need to display it in resizeable it means the height to be reduced, help me to get reduced height of the image.
View 1 Replies
View Related
Nov 24, 2010
What is the proper way of sizing the dimensions of an image in a hdpi screen vs a ldpi screen.
For instance, an 89*80 png displays fine, with the text, on my droid 2....but how should I go about resizing the image to be smaller on a smaller screened droid? Do I manually alter the image and place it in the ldpi folder or will it do that automatically?
View 1 Replies
View Related
Jul 24, 2010
For a new radio project i am looking for a voip client that supports high quality audio transfer. So not the "normal" narrow band voip sound but just like a normal conversation/radio etc. Is there something free on the market?
View 2 Replies
View Related
Apr 2, 2010
Has anyone noticed how the video quality such as on you tube is really bad compared to the I-phone even though the Desire's supposed to have more higher resolution? My bro's got the I-phone and I tested the desire with his phone. Went into certain you tube videos, using same wi-fi connection in same room etc etc and also tried using 3G (both on t-mob) and still his video quality on I-phone was miles better and clearer!
View 34 Replies
View Related
Jul 20, 2010
What's the best way to get the best quality movies on the Captivate? The T-Mobile Vibrant came with Avatar. If I wanted to do the same, what would be the easiest and best quality wise way to do this? I am not talking about streaming movies from the internet, but the best way to either buy and download or convert videos from DVD or Blu Ray to video files to copy to the player. Please share your finds. Maybe there is an app where you can buy and download (while on wifi or whatever).
View 1 Replies
View Related
Jun 9, 2010
HTC Cases // OtterBox.com
View 1 Replies
View Related
Jun 13, 2010
I forgot my HD Camcorder and so used my phone's camcorder. And that is when I noticed the quality is horrible compared to video shot under 1.5. Video shot under 1.5 is not blocky at all and is clear. Under 2.1 it is blocky and poor. Anyone else with this issue and is there a fix in case I need to use it again? I do have it set on HIGH quality in the menu.
View 10 Replies
View Related
Jun 18, 2013
I take quite a few videos of my kiddos playing tball, soccer, etc and like to send them to my parents & inlaws but they always look like crap when they get them bc the phone downgrades the quality of the video before sending it (Note 2). Is there anyway to send a high quality video either by mms or an app? I've tried sending via email (gmail), but they cap attachment file size pretty low.
View 3 Replies
View Related
Jun 2, 2009
As a first step toward a speech recognition project, we wrote a simple voice recording application based on the information in this thread: http://groups.google.com/group/android-developers/browse_thread/threa...
It is working; however, the audio is extremely poor -- too staticy for our needs code...
As a comparison, here is a similar audio file captured with audacity on a PC: http://juzzam.org:9090/myAudioFile_onPC.mp3
Has anyone been able to record high quality audio with the emulator? If not, is it any better on the android dev phone?
According to the documentation of MediaRecorder, there is only one audio encoder "AMR (Narrowband) audio codec" and three output formats--3gpp, mpeg, and raw AMR: http://developer.android.com/reference/android/media/MediaRecorder.html
Here is the Activity source: http://juzzam.org:9090/RecordMicrophone.java.txt
We are testing on Windows XP, with a Logitec USB microphone, eclipse ganymede, and we are using all the defaults for an android 1.5 app (no emulator command-line options.. we defined the sdcard in the avd manager).
View 2 Replies
View Related
Feb 8, 2010
I was wondering if anyone else has noticed this happening. Whenever you zoom in to a picture, the image is never cleaned up. Its like doing a digital zoom when you are already maxed out. The image simply shows up blury as apposed to when you view the image on a computer. There you can zoom in and get details just fine. I've noticed this also when trying to set a different wallpaper that is not from the Samsung collection. The images come out with worse quality then they should. I should also note that as I was cropping the images, the Photos app would force close at times as if it couldn't handle an image that big. I think this is a bug in the photo viewer, where instead of actually zooming in, its just doing crop and re-size of the image when its resolution is that of the screen.
View 1 Replies
View Related
Jan 26, 2010
Is there something I'm missing? Is there a way to set YouTube to always show videos in high quality without me always having to hit menu, show in high quality for each and every video I want to view?
View 6 Replies
View Related
Mar 28, 2010
Is there a why to get the YouTube app to always be in high quality?
View 18 Replies
View Related
Nov 6, 2008
Why youtube looks terrible on the G1. To be honest, I can't even use it at all. Is there a way to watch it in "high quality" like on real youtube. I absolutely hate to say it, but it looks a lot better on the iphone.
View 7 Replies
View Related
Jun 17, 2010
I love my Evo 4g but I have to say it lacks in sound quality. Phone calls get distorted if the volume is set too high. It sounds bad like the speaker is blown, I wonder if this is an actual defect or if it can be fixed with a software update. I also use Pandora and mp3 player and when I use my 3.5 mm to cassette adapter in my car the low/mid range frequencies are hollow sounding. I use many other devices in my car (ipod,laptop,Samsung mp3 etc.) And none sound like this. I've also plugged directly into home surround system and bose inner ear head phones and noticed this. I hope they can fix this with a OTA update .....
View 1 Replies
View Related
Nov 28, 2009
Didn't wanna hijack the other thread, so I wanted to share some pics of the Innocase II that I received today. I used there products for my Curve (made it too bulky) and the 3GS (perfect case it was). Buying this case was a no brainer IMO since those silicon cases collect tons of dust. Best Buy gave a free OEM Hero skin and WOW it is a dust collector. This Innocase gives the device a better grip and makes it a touch thicker, which IMO makes the phone a better handheld device to hold. Also covers up the blah grey color. As you can see from the pics, the slider case is a great fit and gives a nice "lay on the table" design, which I love.Not much more to add, but for anyone looking for a case, this has to be the best case made for the Hero.
View 26 Replies
View Related
Dec 27, 2009
Emulators are fun and all but, I have just been playing Tom Clancy's H.A.W.X. on my iPod Touch and nothing in the android market can touch it. The difference in graphics and game play between the Apple App Store and the Android market is huge. Is it a limitation of other android devices? From what Ive read the Droid has the same (or similar) processor as the iPhone 3GS. I am playing games on the 2nd Gen iPod Touch which has a slower processor and it performs flawlessly. I am not an apple fan boy and have never owned a iPhone. I love my Droid and want to be able to hand my touch to my wife and forget about it. Will the Droid ever get any high quality gaming apps?
View 17 Replies
View Related
Apr 6, 2010
Don't know if any of u have noticed this or if I'm just super late but I just recently went into the YouTube app and was actually able to stream videos. I'd say out of 10 times the vid streamed 9. Though IM still having difficulty streaming in high quality.
View 16 Replies
View Related
Aug 11, 2010
I am trying to put a custom boot animation on my moto droid 1. I have root I have done it before and I am using froyo. My big problem now is that I tried putting a different one I downloaded on and it worked. So I need someone to tell me whats wrong with the one I made, because I am out of ideas. I have compared size, resolution, ppi, bit depth but for some reason my images are way bigger files. The sequence was created by using virtualdub to clip a section of an animated short, then exporting an image sequence as png.
But I've fed the images through gimp and an image resizer. The frames are only some of them because I went through deleting every other frame a few times to cut down on the total size. The file is too big to attach here so i put it on my web space at:
http://www.freaksed.com/stuff/bootanimation.zip
I am using the patch that lets me put the files in datalocal and be named bootanimation.zip. it works I've tried with other animations like I said.
View 14 Replies
View Related