ActionScript 3.0 :: Resizing An Image Without Loosing Quality?
Feb 18, 2009
I have a big image 676 * 340 dimensions and I want to re size the same image down to 200* 150 without destroying quality does any one know a way of achieving this.
I am new to flash & working on my first swf file for a website.Problem is I loose image quality after publishing & uploading to the website.Ive located the publish setting for jpegs & changed this to 100% but problem still exists.When I do publish preview with the flash program it looks fine.
I remember i realised this ages ago, but never really needed anything with it till now. I think it was after flash mx that imported images, when rotated or scaled loose quality horribly.
I have an image that is pretty high resolution and looks fine in Photoshop CS5. However, whenever I try to paste it into Flash CS5, it looses quality and looks terrible.If I try to save it as another image format first and then import it into Flash, the color changes
Ive seen this done in some website, the image while resized (down of course) doesnt lose quality. When I tried to scale the loader it loses quality. I even tried to use bitmapdata for that but it seems the result is the same.
I have a higher resolution .flv file and I'm trying to replace an older version within my Flash file. However once replace (by use of the "swap video" feature when right clicking video), it blows the video up way bigger. When trying to scale down the video, it become fuzzy/pixelated upon output to .swf. Any proper way to resize this higher-res video without loosing picture quality?
I can;t figure out how to do this. Someone selects and image after calling FileReference.browse(). I take that image and make a thumbnail in flash. Then I upload that image like so:
[Code]...
All this does it upload the original image. How do I change the fileRef to upload the new thumb? I have traced out the size of the "myThumbImage" and it is correct. I have placed it visually on the stage after creating the thumb, and it seems like it works. But when I upload it to an aspx page (that basically just throws it into a folder), it uploads the original larger image.
I have created a image cropping tool in flex using core copyPixel method.croppedBitmapData.copyPixels(croppedBitmapData, clipCan, new Point(0, 0));I have to crope area of dementions 20*20 and show this cropped area in an image of demention 250*350. Every thing going well.My problem is image distortion.Even i am using this method for smoothing image contents on complete.
private function smoothImage(event:Event):void { var bitmap: Bitmap = ((event.target as Image).content as Bitmap);
My images look great at 100%, even 150%, when working with them in .fla. When I export to .swf, however, it goes to hell. Are there preferences I'm missing somewhere to rectify this?Attached are the two images, working .fla and the exported .swf.[code]
I am very new to Flash and I am creating a basic webcam display right now and the image quality of the webcam is very low how can I fix this? My code is:var camera:Camera = Camera.getCamera();var video:Video = new Video(); webCam.attachCamera(camera);
I've been working on an animation with the image fading in and zoomin in. However, I noticed that the image has different colour in a flash animation from the same image used on the same website as an image in a jquery gallery.
am using Flash CS5 and Photoshop CS3. The issue I am facing is while exporting from photoshop (optimized for web and devices) as png-24 , most of the images lose their quality inside flash. I have tried to make the publish settings for image quality 100. On lossless compression of the images, the image gets blurry. The total quality of display is highly degraded in flash in comparison to that of photoshop
I have a constant doubt. I never know why the resize image always look ugly. Today I found an example that don't look ugly and only gets better when resize. How they do that?
I load pngs to my flash project. The media size in the project is 1000x635. When I scale my project bigger than the that size I loose quality. the project is used on many different screens therefore scaling is needed.
Is there a way to keep image quality when scaling?
I have a logo which I have created in photoshop, it is made up of 4 layers, some of which I want to animate. I create my movie, I do so by opening my PSD file and then animating the layers. However I have a problem in that when I view my movie the image quality is poor, and there is what I would describe as noise around some of the image.
I notice when I run animations in the flash player, the image quality because very pixelated and blocky when I enlarge the animation.
I need my website to scale to different screen resolutions, so this can be a problem. Is there any way to make images smoother when the flash file is enlarged beyond it's native resolution? I really need to know since my website has to scale to a LOT of resolutions.
I want to use a camera which is installed in my computer in a Flex AIR application I'm writing, and I have few questions regarding the quality options : Do I have any limitation on the video image quality? If my camera supports HD recording, will I be able to record in HD format via the AIR application? How can I export the recorded video in any format I want? If I want to use the same camera for shooting stills, how can I ensure (within the code) the best quality for the result pictures?
I'm getting reduced image quality when I modify my MovieClip's .rotationY property. I've read that flash converts the object into a bitmap which explains the reduction in quality. However my MovieClip will eventually return to it's default position .rotationY = 0; and i don't want it to have a loss in quality.
I've had no such problem like this until today. Basically when i try and drag an object from photoshop to the stage in flash, everything looks great on the stage and usualy everything looks fine in the test / debug mode. But suddenly i've come up against a very anoying problem. Everything looks great on the stage, but as soon as I go to test the movie, the image quality of whatever it is I have imported goes terrible. Like its been compressed to less than 10kb!The image looks fine on the stage but the problem accurs when I try to test to movie.I have tried importing different size images, not transforming the images in flash, making sure all the settings (I know of) are on high.
I'm looking for a non-commercial solution / tutorial (AS3, MySQL, PHP, XML) that would point me in the right directon to control the quality of uploaded images.
I am working on a Action Script3 project and I am showing images after resizing. I am using Bitmap and BitmapData manipulation for this but not getting image quality as like original image.
I set my images at 60% quality JPG files out of photoshop which seems to give a very nice representation. I set up a site to take a full screen, so I expect it to be larger on a bigger screen then what I see on mine. I figured to keep every image actual size at about 25% bigger when the finlal needed size in the layout, so if the site is ever on the bigger screen then images have some stored resolution to be enlarged and accomodate an increase in size. So all of mine images are scaled at about 75%.
Is it a good practise or things don't work this way in Flash? Perhaps it is better to keep the images to 100% (rather than importing intentially enlarges images) but make the maximum quality? Or both ways kind of work out?