How do i set the transparency of an image retrieved from a database? (image was stored as blob)

I had stored a png image into a database, when i retrieve it and display it the background is no longer transparent?
I am loading the blob returned from the select statement by using the "loadBytes" method of the "UILoader" class.
Thanx in advance
gv1979

If you want to stick with adjusting the scale you can do this two ways. Edit the value graph or edit the speed graph.
The problem is that a camera move, a zoom or a dolly in, is not linear and scale is. This means the graphs are not a good representation of what you'll see visually. This makes them hard to use. At a constant rate for scale the appearance is that the increase in size slows down to closer you get to the final value. In other words, as you scale an object up at a constant rate, the visual appearance is a gradual slowing.
A speed graph edited to look like this gives the appearance of a constant rate scale of the layer when you expect an acceleration at the end. There's just not enough granularity in the graph editor or enough control to predictably achieve the results you want.
You'll have better luck editing the value graph to look something like this:
While this looks extreme, you will get closer to achieving the results you want using the value graph. Once again, the amount of control and the resolution of the graph combined with the visual tomfoolery that scaling an object brings with it makes this a difficult way to achieve predictable results.
You select the graph you'll edit by clicking on the second icon from the left.
As I said before, you'll have much better luck getting the look you want if you make the layer 3D and move a camera toward it.

Similar Messages

  • How can I set the value to a session bean from backing bean

    Hi Experts,
    How can I set the value to a session bean from backing bean where I have created getter and setter
    methods for that variable.
    Basically I am using ADFUtils class where I am able to get the value from session bean
    using following expression
    String claimType =
    (String)ADFUtil.invokeEL("#{ClaimValueObj.getClaimType}");
    Thanks
    Gayaz

    Gayaz,
    Wrong Post !!
    Post in JDeveloper and ADF
    Thanks
    --Anil                                                                                                                                                                                                                               

  • How do i set the proxy user in FF 3.6.13, this entry was existing earlier its gone now. using IE with entries in user account pwds works while FF doesn't.

    How do i set the proxy user in FF 3.6.13.
    previous versions had an entry for proxy user.
    its gone now.
    using IE with entries in user account pwds works while FF doesn't.
    too bad have to change back to IE :-(

    You can find the connection settings in Tools > Options > Advanced : Network : Connection
    See "Firefox connection settings":
    *[[Firefox cannot load websites but other programs can]]

  • Setting Background Colour with a Value Retrieved from a Database

    I'm retrieving different colours from a database and I want
    to set the background colour of a canvas to the colour retrieved.
    I've tried doing the following:
    <mx:TileList
    x="2" y="237"
    direction="horizontal"
    dataProvider="{MakeUpColours.lastResult.Colour}"
    backgroundColor="#FFFFFF"
    width="288" height="167.04999"
    themeColor="#FFFFFF">
    <mx:itemRenderer>
    <mx:Component>
    <mx:Canvas width="35" height="35">
    <mx:Canvas width="30" height="30" x="5" y="5"
    backgroundColor="{data.ColourNo}">
    <mx:Image source="
    http://localhost/Flex/Personalised%20Palettes-debug/{data.@PictureSrc}"/>
    <mx:Label text="{data.@ColourNo}"/>
    </mx:Canvas>
    </mx:Canvas>
    </mx:Component>
    </mx:itemRenderer>
    </mx:TileList>
    But it just makes the background colour black. Any
    suggestions?
    Thanks
    Katy

    "katychapman85" <[email protected]> wrote in
    message
    news:g6svqs$eli$[email protected]..
    > I'm retrieving different colours from a database and I
    want to set the
    > background colour of a canvas to the colour retrieved.
    I've tried doing
    > the
    > following:
    >
    > <mx:TileList
    > x="2" y="237"
    > direction="horizontal"
    > dataProvider="{MakeUpColours.lastResult.Colour}"
    > backgroundColor="#FFFFFF"
    > width="288" height="167.04999"
    > themeColor="#FFFFFF">
    >
    > <mx:itemRenderer>
    > <mx:Component>
    > <mx:Canvas width="35" height="35">
    > <mx:Canvas width="30" height="30" x="5" y="5"
    > backgroundColor="{data.ColourNo}">
    > <mx:Image
    > source="
    http://localhost/Flex/Personalised%20Palettes-debug/{data.@PictureSrc}"/
    >>
    > <mx:Label text="{data.@ColourNo}"/>
    > </mx:Canvas>
    > </mx:Canvas>
    > </mx:Component>
    > </mx:itemRenderer>
    > </mx:TileList>
    You're referring to both data.@ColourNo and data.ColourNo. Is
    it an
    attribute or an element?

  • How do I set the default directory that adobe opens from and saves to.

    Every time I open a document, adobe looks for files in skydrive.  To get to my files, I have to back up a level, change to the c: drive, go to users, and then pick the folder my files are in.  Does anyone know where I can find and change the defalt file location.

    Thank you for your reply Rob. That is a pity because I have loaded some 500 eBooks and each Cover page appears in the Navigation sidebar with real Pictures and Videos interspersed seemingly randomly. I have also tried to move my stuff into separate folders called Pictures and Videos. Wheareas the Pictures moved successfully, the Videos didn't show in the Videos Folder. I think this is a bug.
    Is there another Media Player on the HP App site that is worth trying? 

  • How do I set the stage (or the background in the stage?) to be transparent?

    How do I set the stage (or the background in the stage?) to be transparent?
    Thanks
    Gary

    Select Stage.
    Color Swatch
    Then set the Alpha slider to 0.
    Darrell

  • How to set the transparency for a image

    Hi
    iam reading and writing and GIF image,when i resize the new image
    the transparency of the old image is not applied to the new one it appears black as background. so i need to set the transparency of the old image to the new GIF image . so is there any function to set the tranparency or any sample code....

    hi
    Image image = Toolkit.getDefaultToolkit().getImage(logoFilePath);
    image.getScaledInstance(200,150,Image.SCALE_SMOOTH);
    MediaTracker mediaTracker = new MediaTracker(new Container());
    mediaTracker.removeImage(image);
    mediaTracker.addImage(image,
    0);
    mediaTracker.waitForID(0);
    // determine thumbnail size from WIDTH and HEIGHT
    int thumbWidth = Integer.parseInt("200");
    int thumbHeight = Integer.parseInt("150");
    double thumbRatio = (double) thumbWidth / (double) thumbHeight;
    int imageWidth = image.getWidth(null);
    int imageHeight = image.getHeight(null);
    double imageRatio = (double) imageWidth / (double) imageHeight;
    int transparency = Integer.parseInt("100");
    if (thumbRatio < imageRatio)
    thumbHeight = (int) (thumbWidth / imageRatio);
    else
    thumbWidth = (int) (thumbHeight * imageRatio);
    if (imageWidth < thumbWidth && (imageHeight < thumbHeight))
    thumbHeight = imageHeight;
    thumbWidth = imageWidth;
    // draw original image to thumbnail image object and
    BufferedImage thumbImage = new BufferedImage(thumbWidth, thumbHeight, BufferedImage.TYPE_INT_RGB);
    Graphics2D graphics2D = thumbImage.createGraphics();
    graphics2D.setRenderingHint(RenderingHints.KEY_INTERPOLATION,
    RenderingHints.VALUE_INTERPOLATION_BILINEAR);
    graphics2D.drawImage(image, 0, 0, thumbWidth, thumbHeight, null);
    // save thumbnail image to OUTFILE
    out = new BufferedOutputStream(new FileOutputStream(newFilePath));
    GifEncoder gife = new GifEncoder(thumbImage,out);
    gife.encode();

  • How can i set the alternating colors for a table rows

    Dear All,
    Please any one help me how can i set the Alternating colors for Table Rows.
    i created a theam there i set the background alternating color to brown and i set the table design properity to alternating. but it is not reflecting.

    Hi,
    The design property in Table properties should work for your requirement. Select "alternating" value for design.
    Please see the API below:
    design
    Determines the appearance of the table. The property design can take the following values and is represented by enumeration type WDTableDesign.
    alternating - The table rows are displayed alternately in a different color.
    standard - The table background has one color. The individual table rows are displayed with grid net lines.
    transparent - The table background is transparent. The individual table rows are displayed without grid net lines.
    Check whether you have changed the right property or not? Also table should contain more than one rows to test this scenario.
    Regards,
    Jaya.
    Edited by: VJR on Jun 17, 2009 6:43 PM

  • How do I set the thumbnail image of my videos that export to my computer?  I'm using Premiere Elements 11 on a windows 8.1 PC 64bit.

    How do I set the thumbnail image of my videos that export to my computer?  I'm using Premiere Elements 11 on a windows 8.1 PC 64bit.
    Or how does Premiere 11 determine where to set the image for the video it is exporting? 
    I already know how to use Freeze frame and save the image to my computer by Publish+Share/Computer/ Immage.
    Thanks,
    Mike

    Mike
    This is not Adobe. Rather user to user. We are all visitors here.
    Just a bit of history....back in the days of Premiere Elements 4, you could set a "poster frame" in what was called the Project area. You did this by right clicking a blank area there and, from the drop down menu that appeared, selecting View/Preview Area, and using the poster frame feature there.
    As I said, when a video imports into Premiere Elements, the thumbnail of the import has been presenting as the first frame of the video. With this Preview area "poster frame" option, you could set the video's thumbnail in the Project area so that the first frame was another frame in the video. But, this "perk" was restricted to thumbnails of the video in Project area.
    If you exported to file with the first frame modified video, the export's thumbnail in Windows Explorer would present with other than the real first frame or the poster frame as the first frame.
    Also, in more recent versions, I have observed that the export to file does not display the real first frame of the video in Windows Explorer. Seems random, but I have not kept track.
    And, remember, at the onset I wrote
    As far as I have ever seen, Premiere Elements Windows uses the first frame of the video for its thumbnail in the program.
    I know of no way within Premiere Elements to control what the program opts to do in this matter. In some compatibility
    issues, it opts to give no image but a generic one.
    I did not say that you can expect to have the Premiere Elements' export file's thumbnail in Windows displaying with its real first frame. And, the more you get into this, depending on the versions, more details need to be added to my comment about "...first frame of video for its thumbnail in the program..."
    I would have to look into all this further to get perspective on the contributing factors.
    ATR
    Add On...The Poster Frame feature appeared in versions 4, 7, 8, and 9 by my count.

  • How do you set the time period on IMAP email accounts (razr maxx)

    Hi Guys -
    Does anyone know how you can set the time period that the stock email will keep the already downloaded messages for IMAP email accounts?
    Mine never seems to show more than a couple of days worth at a time. I'd ideally like to be able to see at least 2 weeks worth of messages without needing to download them again!
    On other phones I've had there was a setting in the menu, but either I can't find it...or it's not there. I've found the setting for how OFTEN it checks the accounts, but not the setting I am seeking.
    Your help is appreciated!
    Best Wishes for the Holiday Season.
    -Rich

    Hey Rich.  Once in 'settings,' there should be a "days to sync' under the 'data usage' section.   You don't have that?

  • How i can set the selected item of a dropDown component from java code

    Hi
    Thank you for reading my post
    How i can set the slected item of a DropDown component from backing beans java code ?
    it is binded with a database , so one field determine its display and one other field determine its value , I want to set the selected item of this combobox
    In back code i have both value and display values to use them .
    can some one give me some help ?
    Thanks ,

    See code sample 3 at http://developers.sun.com/prodtech/javatools/jscreator/learning/tutorials/2/helloweb.html
    See also, the selection components row in the table under http://developers.sun.com/prodtech/javatools/jscreator/learning/tutorials/2/helloweb.html
    It says
    One way to preselect items is to call setSelectedValue(Object[]) or setSelectedValue(Object) from the prerender() method. You pass in the return values of the items that you want preselected. Be sure to verify that getSelected() returns null before setting the default options, or you will overwrite the user's selections on a post-back.

  • How can I set the page that will open, when I open a new tab, to be the same as the homepage?

    How can I set the page that will open, when I open a new tab, to be the same as the homepage?
    An app changed it to some other search engine, before installing the app, I the tab that would open was the homepage I set.
    In my case it is Google, and I want my new tabs to open on Google like they did before the installation.
    thank you,
    Asaf Privman.

    You can middle-click or Ctrl left-click the Home button on the Navigation toolbar to open the Home page in a new tab.
    You can look at one of these extensions:
    * NewTabURL : https://addons.mozilla.org/firefox/addon/newtaburl/
    * New Tab Homepage : https://addons.mozilla.org/firefox/addon/new-tab-homepage/

  • How do I set the audience when I'm using Siri on my iPhone 5 to post to Facebook

    How do I set the audience privacy for when I’m using Siri on my iPhone 5 to post to Facebook?
    When I ask Siri to post a message to my Facebook Siri tells me what I have said and then asks tot post it, I then checked on my computer and the post is visible to "ME ONLY" I can change this on the computer and on my phone via the App but I do not want to be doing that all the time.
    If I post to Facebook via Siri on my iPhone 5 I want it at the default setting of friends only.
    So How do I change this?
    I posted the first one 2 minutes ago then went into Facebook via the App and changed it but did a second one hoping that the default privacy had changed but it was again to me only. As you can see via the padlock. Please help. Thanks

    What if you do need help or emergency situation while Posting FB via Siri is the fastest way to show you or someone is in danger, and he/she is dying because the post is Only visible to Me !?!?!?!???
    Anyone who uses FaceBook to get immediate help for life threatening emergency is mercifully removing themselves from the gene pool.

  • How do I set the "reply to" field in the iPad 2 Mail app?  I use an email forwarding service (not an actual email account) that I would like people to reply to.

    How do I set the "reply to" field in the iPad 2 Mail app?  I use an email forwarding service (not an actual email account) that I would like people to reply to, so setting up an account with the correct reply-to address doesn't work because there's no associated outgoing mail server.  I had this working under iOS4 but it seems to have disappeared when I upgraded to iOS5.

    Welcome to the forum, NicoleYM. I don't think the Touch Mail has as many options as the Mac Mail app. However, you could set a standard signature. Go to Settings > Mail, Contacts, Calendars > Signature. There you can type a reply address and hope people see it.
    Alternatively, you can go to your GMail account in your web browser and click on Settings > Forwarding and POP/IMAP. There you will have an option to forward all emails (or only some, if you set up a filter) to your other address.
    Good luck!

  • How do I set the iPhone 4s to answer in 5 rings?

    How do I set the iPhone 4s to answer in 5 rings?

    You would have to contact your carrier about the time before voicemail.

Maybe you are looking for

  • Development and marketing of SAP EP solutions - any licenses required?

    Hi Not sure which forum to post this in, so - maybe Coffee Corner is a good start My question is about the licensing required to development and marketing small add-ons / extensions for SAP Enterprise Portal. Is it possible for the individual develop

  • How to call "long text" of master inspection characteristic in ALV

    Dear All, we have created customized QM report in ALV which shows Result, Valuation and Short text for each MIC against each inspection lot. Can we call long text also in the ALV. Please guide how to call it in ALV?

  • Final cut upgrade from express to studio.

    hello there mac world. hey I have final cut express 4 HD and I want to upgrade to final cut studio. Do I need to buy the full version or can I buy the upgrade?

  • Cannot find ipod control file

    Hi guys My pc crashed and ive lost all my music on itunes When i connect my iphone to my new laptop i get internal storage-DCIM Then 3 folders containing pictures I have enable show hidden files etc but all to no avail  i do not see the usual 4 files

  • About https certificate problem

    Hi,All     I change my OS datetime bakc to 2010,and send https request to my website api,https://api.xxxxxx.com,the httpService always fault,the fault detaial as FaultEvent fault=[RPC Fault faultString="HTTP request error" faultCode="Server.Error.Req