Flip/rotate Image which is stored as BFILE in DB

Experts,
Can anyone please help to achieve flipping and rotating an image. Is this can be achieved with the available adf components?. Please let me know in detail.Am using Jdeveloper 11.1.1.6.0
Thanks in advance

Hallo John,
yes, you can use the Image UI element.
Further you have to create a String for the URL. Implement like as follows:
IWDCachedWebResource cachedResource = null;
String imgUrl = null;
WDAttributeInfo attInfo = wdContext.getNodeInfo().getAttribute(IPrivateXYView.IXYElement.PIC_DB);
IWDModifiableBinaryType binaryType =
               (IWDModifiableBinaryType) attInfo.getModifiableSimpleType();
binaryType.setMimeType(WDWebResourceType.JPG_IMAGE);//Example *.jpg
WDWebResourceType type = binaryType.getMimeType();
byte[] file = wdContext.currentXYElement().getPicDB();
if (file != null)
cachedResource = WDWebResource.getWebResource(file, type);
try
imgUrl = cachedResource.getURL();
catch (WDURLException e)
IWDMessageManager msgMgr = wdComponentAPI.getMessageManager();
                    msgMgr.reportException(e.getLocalizedMessage(), true);
I hope it will help you.
Regards,
Silvia

Similar Messages

  • How can we get the image which is stored in clipboard by labview, is there any functions available like text from clip board

    How can we get the image which is stored in clipboard by labview, i can get the text in clipboard by using invoke node directly.but i cannot get the image, is there any functions or vi available.(image is in Png format)

    The Read from Clipboard method is, unfortunately, limited to text. If the clipboard contains an image then you need to use OS-specific functions calls. This is an example program for Windows. It's old, but it should still work.

  • How to display an image, which is stored in a database?

    Hi All,
    I would like to display an image with Web Dynpro.
    I already know how to display an image which is stored in the path src/mimes/Components/...
    But does anybody knows, how to display an image which is stored in a database (e.g. MaxDB)as a datatype of binary?
    Thanks in advance!
    Regards,
    Silvia

    Hallo John,
    yes, you can use the Image UI element.
    Further you have to create a String for the URL. Implement like as follows:
    IWDCachedWebResource cachedResource = null;
    String imgUrl = null;
    WDAttributeInfo attInfo = wdContext.getNodeInfo().getAttribute(IPrivateXYView.IXYElement.PIC_DB);
    IWDModifiableBinaryType binaryType =
                   (IWDModifiableBinaryType) attInfo.getModifiableSimpleType();
    binaryType.setMimeType(WDWebResourceType.JPG_IMAGE);//Example *.jpg
    WDWebResourceType type = binaryType.getMimeType();
    byte[] file = wdContext.currentXYElement().getPicDB();
    if (file != null)
    cachedResource = WDWebResource.getWebResource(file, type);
    try
    imgUrl = cachedResource.getURL();
    catch (WDURLException e)
    IWDMessageManager msgMgr = wdComponentAPI.getMessageManager();
                        msgMgr.reportException(e.getLocalizedMessage(), true);
    I hope it will help you.
    Regards,
    Silvia

  • Flip (rotate) Image

    Helloooooooos,
    i have a box and this box's cornerns inculde curves , so i
    put 4 images ( curvetopleft.jpg,right,botleft,botright ) //all is
    the same shape , only fliped in photoshop/
    BUUUUUUUUT,
    i need to put only 1 image and flip(rotate) others corners in
    HTML or any another code like js
    Thats all
    Thanx a lot mfs

    So - you want to just do it without regard for the fact that
    no browser
    supports it?
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "Murray *ACE*" <[email protected]> wrote
    in message
    news:ev1f5n$h6c$[email protected]..
    > HTML doesn't work like that.
    >
    > --
    > Murray --- ICQ 71997575
    > Adobe Community Expert
    > (If you *MUST* email me, don't LAUGH when you do so!)
    > ==================
    >
    http://www.dreamweavermx-templates.com
    - Template Triage!
    >
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    >
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    >
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    > ==================
    >
    >
    > "mkayyali" <[email protected]> wrote in
    message
    > news:ev16pg$7i9$[email protected]..
    >> Helloooooooos,
    >>
    >> i have a box and this box's cornerns inculde curves
    , so i put 4 images (
    >> curvetopleft.jpg,right,botleft,botright ) //all is
    the same shape , only
    >> fliped
    >> in photoshop/
    >>
    >> BUUUUUUUUT,
    >>
    >> i need to put only 1 image and flip(rotate) others
    corners in HTML or any
    >> another code like js
    >>
    >> Thats all
    >>
    >> Thanx a lot mfs
    >>
    >
    >

  • Displaying images through forms6 stored as bfile

    The image is stored in a database as bfile datatype. How the image can be displayed using forms6?

    Two columns table (varchar2 and bfile)
    wizard to create form on the two columns:
    when I compile and run, going in query mode
    I receive oracle error
    22288 (Serevr is 8.1.6.1 on linux kernel 2.2.14)
    Via sqlplus accessing to the bfile I encounter no problem.
    If in forms I select help--> display error
    I can see that it attempts to make a select on the bfile column.
    How to debug?
    Thanks in advance.
    null

  • How to display an image, which is stored in R3?

    Hi everyone,
    I need to display a image in a Web Dynpro application, this image is stored in SAP R3. Is there a FM to do that?
    Regards
    Eduardo Campos

    Hi Eduardo,
    if your image is in the system, there are the different syntax notations to retrieve it, as stated in the documentation link.
    To upload or download an image into an SAP system, just go to the MIME repository in the ABAP workbench, select an appropriate folder and do it. See http://help.sap.com/saphelp_nw2004s/helpdata/en/46/bb182fab4811d4968100a0c94260a5/frameset.htm and the sections on importing mimes and uploading and downloading mimes.
    Regards, Heidi

  • Action to rotate images.

    I have created a workflow to rotate images which I have turned into a finder plug-in. The action is using the preview app, and is rotating my image fine. However for some reason it is also opening the app Graphic Coverter. I am then unable to use the workflow (or another rotating workflow) again until I quit Graphic Converter. I have tried getting around this by adding an action to close Graphic Converter after rotating the images but this is not working.
    Does anyone have any ideas?

    Hello & a warm welcome!
    no idea what is happening, other than Apple Software is usually the worst to accomplish thing the way YOU want to.
    GraphicConverter has a powerful Browse Folder function, & many tools for manipulation, & you can keep your Pics wherever you want...
    http://www.lemkesoft.com/

  • How to make an image flip, rotate...fly..anything?

    It's me...the newbie again...under the gun!
    I have some images (jpegs) in my movie and currently they just....."appear".
    I would like them to appear in a more dramatic way...flip, rotate...fly like a bird...anything interesting and that goes with the music....any suggestions?
    Using FCE HD 3.5
    Thanks!

    http://www.fcpbook.com/MotionControl_inFCE.html
    You really need to get yourself some training materials for this application. It's going to be really hard using a forum.

  • NSAffineTransform and rotating images (Not iPhone)

    I have a subclass of NSView, and in that I'm viewing an NSImage. I have a rotate button that causes the drawRectangle method to create an NSAffineTransform that should rotate the image. I'm also drawing the image locked to the upper left corner, by drawing into a calculated location in the view's frame.
    At the moment, I'm trying to get flip (rotate 180 degrees) to work properly. It rotates correctly. However, after I rotate, if I change the WIDTH of the window, it re-draws the image in its original orientation. If I cause a re-drawn in some other way, or I change the height of the window it draws it correctly.
    I've looked through my drawRectangle method, and it appears to have the correct transformation matrix.
    Is there something obvious that could be going wrong ONLY when I change the width of the window?
    thanks.
    Oh, code:
    - (void)drawRect:(NSRect)rect
    double rotateDeg = -90* rotation;
    NSAffineTransform *afTrans = [[NSAffineTransform alloc] init];
    NSGraphicsContext *context = [NSGraphicsContext currentContext];
    NSSize sz;
    NSRect windowFrame = [[self window] frame];
    float deltaX, deltaY;
    NSSize superSize = [[self superview] frame].size;
    float height, width, sHeight, sWidth;
    if(image)
    sz = [ image size];
    height = sz.height ;
    width = sz.width ;
    sHeight = superSize.height;
    sWidth = superSize.width;
    [context saveGraphicsState];
    [afTrans rotateByDegrees:rotateDeg];
    deltaX = 0;
    deltaY = 0;
    // translate to account for rotation
    switch (rotation)
    case 0:
    NSLog(@"No rotation ");
    break;
    case 1:
    deltaY += sHeight;
    deltaX -= sHeight - width;
    break;
    case 2:
    deltaX -= width;
    deltaY -=( 2*sHeight - height);
    // it's rotating around the lower left of the FRAME, so,
    // we need to move it up two frame hights, and then down
    // the hieght of the image
    break;
    case 3:
    deltaX -= width;
    break;
    [afTrans translateXBy:deltaX yBy:deltaY];
    [afTrans concat];
    // other stuff that I'm pretty sure isn't relevant.
    Message was edited by: Brian Postow: Added code

    Hi Brian,
    I don't know the answer to your question, but I think some of what you're doing will help to solve the problem I am running into with my own program. I'm just trying to use a "sane" x,y coordinate system when drawing my UIImage, but I want to view and work with it solely in landscape. I've tried rotating it in the .xib file, and that doesn't work. So, I wanted to see if I rotate the image by 90 degrees, then draw my screen if it will draw it already rotated, instead of in portrait mode.
    What .h files must be included to use the code in your example?
    As to your problem, take a look at the .xib file and in the Size Inspector, look at which sides are set for auto-sizing. That may be part of the problem. Try changing which sides are fixed and which sides auto-size and see what changes in behavior, if any, that causes.

  • How would I flip an image either horizontally or vertically?

    I know I can rotate an image within Aperture clockwise or anticlockwise, but is there a way of flipping an image either horizontally or vertically? I was practicing with light painting and wrote something which I now need to flip so it reads more natural.
    S

    Yes. You have to enable the "flip" brick which is not enabled by default.
    Above the histogram click the little "+" drop down box and choose 'flip'. You can flip horizontally or vertically.

  • Rotate3D : How to find rotating image's angle reached 90

    I am looking for a solution to find rotated image's angle.
    Say an image is rotating from 0 to 180 along the y axis it has to cross 90degree mark. Is it possible to listen motion of image in degrees while animation is playing?

    Sorry, Its not what I am looking for.
    I am looking for a listener or something which will trigger when it reaches certein angle say 90degrees. I am rotating an image from 0 to 180 along the y axis (by setting angleYFrom & angleYTo not along x axis) and I have to flip an image when it reaches 90, so that reversed image can be avoided. Making it show face all the way it reaches 270 degrees from 90.
    Thanks

  • I have a Flash Sample to rotate images and text but I not find a way to display special characters

    Hello everyone.
    I bought a very nice Flash application that rotate images, and text of any color and size. It use an XML input file.
    I've posted here, a complete copy, so any of you can download, view and use it freely.
    I would appreciate if any of you know how to do, so that the text displayed, including the characters I use in my language (Spanish), such as á, é, í, ó, ú, ñ, and other special characters.
    In fact, I could not find a way to do it, because I'm not expert Flash, and less in ActionScript.
    If any of you would help me on that, I thank you implement the appropriate adjustments and compressed into a. zip file, and let me know where to download it, or if you prefer you can send it to my email: [email protected]
    After all compressed in .zip format is a very small file: 430K.
    Click here to download the complete sample.
    Thanks.
    =====================================
    Translated using http://translate.google.es
    =====================================

    Hello Rinus,
    If I understood your last post correctly, then problem 2 is resolved, right?
    Regarding problem 3:
    I'm not asking you to share exact VIs.
    I just want to see a very simple VI that explains the concept of what you're trying to do, what should happen (this can be in words that refer to the front panel elements) and what you've tried.
    The terminology you're using isn't clear to me without an extra explanation.
    This could even be only a Front Panel with a few buttons on where you just describe what should happen with specific controls/indicators.
    Based on the first post it is not clear to me what you mean with:
    - A "button element":
      Are you talking about a control, an indicator, a cluster that contains multiple control?
    - The structure:
      Is this an event structure, case structure, for loop, ...?
    Is it seems like you want to programmatically control Front Panel objects, which on itself is no problem at all independent of how many objects you want to control.
    Please share with me simple example of what goes wrong and explain which things should happen on that specific Front Panel.
    This will allow me to help you and also allow me to guide you along the right path.
    Kind Regards,
    Thierry C - Applications Engineering Specialist Northern European Region - National Instruments
    CLD, CTA
    If someone helped you, let them know. Mark as solved and/or give a kudo.

  • Downloading a file which is stored in FTP

    Hi,
    I am developing a webdynpro application where i need to display the flenames in the table which are stored in FTP. And by clickng the filename,it should be downloadable.
    Can anyone Please tell how to download a file through webdynpro application (the file should come from FTP)
    Thank You,
    Madhavi.T

    1) Create an FTP connection from NW java App. server to the FTP server.
    or
    2) Use ftp location, username & password in URL and read the file.
    or
    3) Use any .jar file which reads from ftp.
    follow the thread listed below:
    Image Upload and Download
    How to access the remote file from webdynpro
    Uploading and Transferring Files in Web Dynpro
    regards,
    Nikhil Bose

  • Rotated images in inDesign

    I have used CS6 on my Mac (10.6.8) to create a 240 page book with several images on most pages. Some of these have been rotated by about 20 degrees or so for effect, and are fine when viewed on inDesign. However, when exported to pdf in high quality mode a grey (un-rotated) box appears around each of the rotated images. It's faint but it is there. I did try rotating in Photoshop first and then creating a clipping path, which I have done for other images but this appears compromised by the rotation also. Grouping a number of images before rotating, as I have done on the cover, also seems to cause a particular problem, with the crop then coming in at an angle also. Even if you then ungroup these, the program seems to remember they were grouped before and still refuses to do a vertical crop, though it behaves ok with the rotated image before it is grouped. Drop Shadows on the title text appear VERY dull on my screen when viewed in the high-quality pdf mode also, though a friend viewing the same file on his computer does not get this effect. I think I can work round most of these, but the grey boxes are a real issue.
    Thanks
    Les Brown

    Hi Peter
    interesting. I was just clicking on the file, so I think it was Apple preview. However, if I select Acrobat 10.1.1 the image looks good against a white background (my main problem.) Does this mean the file is OK to send for printing in this form? I note that for the cover image (blue background) the drop shadows are still very dull and there is still a slight colour issue with the rotated image.
    Thanks
    Les

  • Rotated Images

    When I download a picture to Desktop it transfers the picture to a folder called Rotated Images no matter which ISP I am using. It also happen if I drop an image /picture onto the desktop: it sits there apx 3 seconds then creates a Rotated Images folder & the picture is there rotated 90 degrees.
    I have tried deleting the folder to Trash, emptying the Trash, and Restart. Same thing happens. Although there is no Rotated Images folder on the Desktop, as soon as I drop any image on the Desktop it creates an Rotated Images folder and the picture goes in there and rotates 90 degrees. It seemed to suddenly start. I don't believe I installed any app that would cause it to happen (I hadn't installed an app at the time it started).
    I don't know if it was 'spammed' to my iMac -possibly?
    When I use Spotlight it doesn't find Rotated Images except for the newly created folder on the Desktop.
    Has anyone encountered this problem? Has anyone found a solution? It is confusing and annoying. I have to add it to iPhoto then rotate it and Revert to Original rotates back.
    The work/around is to Rotate & Save in Photoshop, then Import to iPhoto. Bummer.
    Thank you.

    I meant to ask: Has anyone encountered this problem? Has anyone found a solution? It is confusing and annoying. I have to add it to iPhoto then rotate it and Revert to Original rotates back.
    The work/around is to Rotate & Save in Photoshop, then Import to iPhoto. Bummer.
    Thank you.

Maybe you are looking for