When i wan to show the large image (3644x2429) like
<mx:Image source="assets/images/bug-img.jpg" width="100"/>
It add the white and blue artifacts in the image. Please help me for show the large size images in image tag.
in flashbuilder 4.5 you can use flex 3.x / flex 4.x SDKs.
what is your flex SDK.
If you are not clear about this. are you using
<s:
tag in your app (Spark components). if so, you can use latest spark image component.
<s:Image id="bug" source="assets/images/bug-img.jpg" width="100" smooth="true" />
really funny image. gave some to laugh.![]()
mention height as well. the below code works for me.
<?xml version="1.0" encoding="utf-8"?>
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx">
<fx:Declarations>
<!-- Place non-visual elements (e.g., services, value objects) here -->
</fx:Declarations>
<s:Image id="bug" source="bug-img.jpg" width="100" height="100" smooth="true" />
</s:Application>
But it is not really good idea to display that big image.
Thank you very much. But it still have the white artifacts as you can see when i change it size from the adobe it's become lik
http://images.coeus-solutions.de/bug-small.jpg
But when i do it through the FLex it have white artifacts etc. And it's dimension is 100x67 so in Flex it is like the following
<s:Image id="bug" source="assets/images/bug-img.jpg" width="100" height="67" smooth="true" />
Actually in my application user can upload the images at size therefor it is allowed. Is when you create it at your side it is same as it is at http://images.coeus-solutions.de/bug-small.jpg
Thank you very much got it's solution the following code works correctlydd
<s:Image id="bug" source="bug-img.jpg" width="100" height="67" smooth="true" smoothingQuality="high" />
But i am using the mx images and there no smooth and smoothingQuailty attributes available. Have you any idea how i can implement it in the mx images control?
North America
Europe, Middle East and Africa
Asia Pacific