Displaying images in their own format.

I wrote the following code to store a path of an image into a textbox:
declare
filename VARCHAR2(255);
begin
filename := GET_FILE_NAME(NULL,NULL,'All Files (*.*)|*.*|');
:infiles.letterpath := filename;
end;
Then,
I used the following code to read an image(bath) from "letterpath" textbox and display it into an image item:
Read_image_file(:infiles.letterpath, 'gif', 'infiles.letter_image');
Now, what i want is to show images in their own format, not to dispaly them into an image item.
Can someone please tell me how i can display images in their own format.
For example: lets say i store a path of a word document in a textbox then when i click an open button, i want that document to be displayed in MS Word.
Thanks in advance.

Hi,
you could use an OLE container in Forms and associate this with the externmal viewer that you would like to show the source. This however works for c/s and immediately stops working once moving your app to the Web. There you would need to investigate in a Java Bean solution to do this.
Frank

Similar Messages

  • How can i Display images with may own table

    Hi
    I want display images with my own table. How can I use in this query.
    SELECT    '<a href="#" onclick="javascript:'
           || 'getImageHeight(''my_img'
           || '#ROWNUM#'');javascript:redirect'
           || '(''f?p=&APP_ID.:212'
           || ':&SESSION.:DISPLAY:NO::P212_IMAGE_ID:'
           || ID
           || ''');">'
           || '<img src="#IMAGE_PREFIX#edit.gif" '
           || 'alt="Edit"></a>' ID,
              '<img id="my_img'
           || '#ROWNUM#" src="#WORKSPACE_IMAGES#'
           || filename
           || '"/>' image
      FROM wwv_flow_filesThanks
    Nr
    Edited by: user10966033 on Sep 28, 2009 1:41 PM

    You don't use #workspace_images# since that is for STATIC files, not images in a table..
    see this thread for help: Re: Display image from blob
    Thank you,
    Tony Miller
    Webster, TX

  • Using Preview to view multiple images in their own window

    So I'm using OS Tiger with Preview 3.0.9 and have selected "Open each image in its own window" in the Preview preferences. And this works, at least for the first 20 or so images. Then it automatically starts to open all subsequent images in the last window as little thumbnails that can be clicked on. When using my newer computer with Snow Leopard I am able to open (seemingly) unlimited windows, each showing its own image. However on this older maching, even with the correct preference setting, I can't view more than a few images at a time in their own window. I hate having all of the images grouped in a single window as it makes it very difficult for me to compare things. I have to keep clicking back and forth, back and forth. I want everything to be in its own window and I will choose to hide or have them floating onscreen, etc.
    Is there a limit to how many this version of Preview will show?

    Hi Steve, in 10.4.11 I just dragged 223 jpgs to Preview, all opened on one long page or series of pages.
    I'd get GraphicConverter, all 223 opened in a seperate window, but you can use it's powerful Browse function to preview & open the ones you want...
    http://www.macupdate.com/info.php/id/263

  • How to save a drawn image in our own format

    hai,
    i'm developing a designing tool. in that user can draw any type of diagrams. i have to save the drawn image in my own extention... how can i do it. provide me some sample code if u can...

    mituli wrote:
    Thanks,
    but I am using Image.getScaledImage() to get scaled image(obviously). This returns an Image object. When I call getGraphics() on this object it throws an exception:
    Exception in thread "AWT-EventQueue-0" java.lang.UnsupportedOperationException: getGraphics() not valid for images created with createImage(producer) at sun.awt.image.ToolkitImage.getGraphics(ToolkitImage.java:292)Try using createGraphics() instead.
    In javadoc i found out that this method can be used only on off-screen image. What is off-screen image?Use BufferedImages, you'll have a lot less problems.
    Anyway I can't use this object in ImageIO.write because it requires RenderedImage object which can only be BufferedImage object.
    I tried to cast Image to BufferedImage but can't be ... If you need to get your Image painted onto a BufferedImage, you can do it like this:
    BufferedImage bi = new BufferedImage(myImageWidth, myImageHeight, BufferedImage.TYPE_INT_RGB);
    Graphics2D  g = bi.createGraphics();
    g.drawImage(myImage, 0, 0, null);

  • Display image in an array format

    I'm new to flex and I would really appreciate anyone who can help me. My  problem is I need to display an (1)image in columns and rows depending  on the user input. I have two text inputs one for length and width on  the other. Say the user inputs 5 for length and 6 for width so the  image will be displayed in a 5 x6 picture array(5 pictures in 6 rows).  Looking forward for your advise on how I can workon this. I hope I was able to explain my problem very well. Thank you in  advance.

    You might find TileLayout to be useful.  It exposes a requestedColumnCount and requestedRowCount property.
    Here is a simple example:
    <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
                   xmlns:s="library://ns.adobe.com/flex/spark">
        <s:controlBarContent>
            <s:HSlider id="colSlider" minimum="2" value="3" maximum="6" />
        </s:controlBarContent>
        <s:List width="100%" height="100%">
            <s:layout>
                <s:TileLayout requestedColumnCount="{colSlider.value}" />
            </s:layout>
            <s:itemRenderer>
                <fx:Component>
                    <s:ItemRenderer>
                        <s:Rect width="100" height="100">
                            <s:fill>
                                <s:SolidColor color="0xe3e3e3" />
                            </s:fill>
                        </s:Rect>
                        <s:Label text="{data}" verticalCenter="0" horizontalCenter="0" />
                    </s:ItemRenderer>
                </fx:Component>
            </s:itemRenderer>
            <s:dataProvider>
                <s:ArrayCollection>
                    <fx:String>1</fx:String>
                    <fx:String>2</fx:String>
                    <fx:String>3</fx:String>
                    <fx:String>4</fx:String>
                    <fx:String>5</fx:String>
                    <fx:String>6</fx:String>
                    <fx:String>7</fx:String>
                    <fx:String>8</fx:String>
                    <fx:String>9</fx:String>
                    <fx:String>10</fx:String>
                    <fx:String>11</fx:String>
                    <fx:String>12</fx:String>
                    <fx:String>13</fx:String>
                    <fx:String>14</fx:String>
                    <fx:String>15</fx:String>
                </s:ArrayCollection>
            </s:dataProvider>
        </s:List>
    </s:Application>

  • ICal and Address Book fonts--how do you display them in their own font?

    I tried printing address labels from Mac's Address Book. It was pretty intuitive and straight forward. However, when I was prepping to print, I had the chance to change the fonts. The list of fonts was not presented with each font name in the font itself (does this make sense?).
    When I use Excel or Word and want to change fonts from Arial to Times New Roman, I go to the font chooser, and Times New Roman is displayed in Times New Roman font. If I want to be creative and pick something new, it's easy to see how it will appear, because the name of the font is displayed in the font its describing.
    Is there a setting I need to adjust in order to make this work in Address Book and/or iCal?
    Thanks!
    Terel

    On one hand they make Mail look stark, like the interior of a Porsche 911, gray, gray, gray, (boring)  and on the other hand they make iCal look like some 3rd party creation where they paid a graphic designer 250.00 to come up with a cool look.  Cheesy!
    Probably designed by some unemployed Windows XP graphic 'artist.' 
    As to Address Book.  Why complicate something that is already working just fine.

  • How to upload images to your own Web site?

    I recently bought a Creative WebCam NX Pro. Installation was fine, the product works great.
    The problem is that I want the cam to upload images to my own web site, www.fogwatch.com. This is basically a weather cam, with images uploading regularly.
    The problem is that the Creative software creates a new name for the image file every time it uploads a new image -- 0.jpg, 02.jpg, 03.jpg, etc. The problem is that the HTML code on my Web site is programmed to recognize only one file name for the Web cam image -- image.jpg. With my old Logitech cam, the software would overwrite the old image with the new image with the same file name, and every was fine.
    So, with the Creative software, I would have to change the file name in my HTML code every time the cam uploaded a new image?and that's impossible. I don't want to use the default Creative web page that it uploads images to as that doesn't fit in my site design.
    Is anyone using a Creative camera to upload images to their own Web site? How are you doing it's

    Bcasey,
    I spent some time working with Webcam monitor and have found the way to do what you are wanting. You need to set up your FTP settings, arrange for a continuous upload and then go over to the custom web page section. Put a checkmark in "upload custom webpage" and go to the section where it says how many pictures to display. Set this to and then remove the checkmark from "upload custom webpage". The program will now upload a single file called img.jpg updated at the interval you choose.
    Jeremy

  • Saving existing files in their native formats

    It's really annoying that Numbers insists on saving in its own proprietary format. Is there a way around this and is there a chance that the default behavior would ever be changed?
    I've just had my first experience with Numbers since it was pre-installed on my new machine. I was opening a xlsx file a colleage had emailed me. I imagine that for many (business) users who don't create spreadsheets, this is a typical first interaction - opening an existing spreadsheet that somebody else has created. Business users are almost always using Excel or maybe you're opening a CSV because it came from a reporting system.
    After making a small tweak to an existing CSV or XLSX file, Numbers prompts you to save in a new format - thus creating another file - or you can delete the new version you made. This isn't very user friendly.
    Here's a common case. You might download an address template from a website in XLS or CSV and then fill it in and re-upload it. Workflow is very difficult in Numbers and especially so for a novice user. It's not intuitive to have to go to the export menu to save it in the same format it was already in.
    For some background, I run engineering at an ecommerce startup and I've used Excel, OpenOffice and Google Docs for years and typically stick to the latter two these days since they're free. We install OpenOffice on all our Macs to crunch bigger spreadsheets (vs Google Docs) and of course like that it's free.
    I realize that the native format has its advantages and Apple also has reasons for wanting to convert to their own format, but in some cases where fidelity isn't affected, saving changes to an existing file just makes a lot more sense.

    I was primarily looking for supported way to solve this use case but it sounds like that isn't available out of the box. In that case, no need to spend any more time looking into this. SG, your workaround is pretty admirable and that's a good idea, but it probably doesn't make sense usabillity wise when you could use a text editor if you were advanced enough as you mentioned or just use another program.
    Wayne, as you suggested, I submitted feedback from Numbers itself so hopefully that helps the Apple team understand this use case better.
    For internal use, it sounds like using another program is the most straight-forward way for this case (for average users). However, since we have a website with tons of Mac users, it's realistic that the default xls or csv handler on their system is Numbers so there won't be a way around that. Of course we can't tell users on our site to download a script to make saving a file any easier (since it would be harder), so I think the best thing is to give users instructions with the steps I outlined even though there are lot of them. It sounds like there's no better way for general users.
    Thanks for all your help guys!

  • If I have 2 tv's and each their own apple tv can I display the same program to them from my macbook at the same time?

    If I have 2 tv's and each their own apple tv can I display the same program to them from my macbook at the same time?
    for instance Keynote?

    Welcome to the Apple community.
    The Apple TV cannot display keynote presentations or websites from the computer. It can display them via mirroring from the iPad 2 or better or the iPhone 4S.
    You cannot AirPlay to 2 Apple TV 2's at the same time from an iOS device. You can watch the same video, TV show or listen to the same music from your iTunes library on multiple Apple TV's at the same time.

  • How can I use some of the image i am working on to paint with? like if I wanted to give someone an extra eye in the forehead, ow could i then paint their own i in the forehead? I know there is a paint tool for that, i just can't find it ... :/

    How can I use some of the image i am working on to paint with? like if I wanted to give someone an extra eye in the forehead, ow could i then paint their own i in the forehead? I know there is a paint tool for that, i just can't find it ... :/

    It sounds like you are talking about the cloning tool?
    Tool looks like this:
    Then when selected you can change the size of the brush and using Alt (windows) and Command (Mac) to select your region you want to copy then start to create you cloned image.
    Hope this helps?

  • When "allow pages to choose their own colors, instead of my selections above" is un-checked in the options menu, I am unable to see images on websites. How do I maintain having the box un-checked and still view images?

    I recently decided to switch the colors around in Firefox. I work in a pretty dark environment and having dark colored text on white or bright backgrounds is rather difficult on my eyes in the dark.
    I switched the background to a dark gray, the text to a light gray and both visited and unvisited links to a light blue. Along with these changes, I unchecked the "allow pages to choose their own colors, instead of my selections above" box.
    After unchecking the box, I am no longer able to view images on many websites. The images all turn gray - as if Firefox has changed their image into part of the background. When I check the box, I am able to see images fine, however, the websites usually revert back to their bright backgrounds with dark text.
    Any help and assistance with this is greatly appreciated!
    Thank you!

    You can use the NoSquint extension to set font sizes (text/page zoom) and text colors on web pages.
    * NoSquint - https://addons.mozilla.org/firefox/addon/2592

  • I'm having an error in Photoshop CS6 where the numbers in boxes (like image size width) are changing on their own. Can someone please help me figure this out?

    This was happening all the time on my old 2006 iMac, and I thought that when I upgraded to a new computer it would go away. No such luck.
    Sometimes the program works just fine, and other times I have this error. I haven't been able to pinpoint what is causing it.
    Basically what happens is, I will try to type a number in the box to edit the size of the image (or sharpness, etc. something that requires you to enter a number), and as soon as my mouse hovers over the box, the numbers start changing on their own. As soon as I move the mouse away, the problem stops, but of course this means that I am unable to type in the number that I want.
    I've tried unplugging my mouse and keyboard - that doesn't change anything.
    Has anyone run into this issue before?
    Btw, I use a 2013 iMac, OS version 10.9.5
    (I have a video clip of this problem, but I don't know how to share it here)

    Your task is hardly a case for Photoshop: replacing text accurately in a scanned, not even
    straightened image.
    My recommendations:
    a) put a crossreference list on each page
       or
    b) straighten the scans and improve the contrast, both by Photoshop.
       Then apply a program which converts images of text into machine coded text
       by OCR - Optical Character Recognition , for instance Abbyy Finereader
       http://finereader.abbyy.de/professional/?adw=google_eu&gclid=CMirrcCMx7MCFZHRzAodlisAJg
       (I'm not related to the manufacturer of this software, I'm just a user).
       In coded text it's easy to replace isolated character groups as required.
    Best regards and good luck --Gernot Hoffmann

  • Display problems with allowing web pages to use their own fonts, both on and off.

    I refer to the "Allow pages to choose their own fonts, instead of my selections above" option in the Content > Advanced tab of the Options menu.
    When I have this option unchecked, allowing my font choice to override the default non-image generated text for web pages, it seems that many icons and buttons on numerous sites are replaced by some sort of hex code malfunction. They appear as small boxes with four characters inside. I'm sure someone knows the official term for what these are and why they occur.
    When I have the option checked, however, any non-image generated text on numerous websites appears as an ugly Stencil font that I simply cannot find the origin of. It should not be and clearly isn't the default font for all of these different sites. By "non-image generated text", I mean any text that is not incorporated into the design of the page.
    This issue has persisted through several full re-installs. Any insight into a solution for one or both sides of this problem would be quite appreciated. Thanks for reading.

    You would have to remove (uninstall) or reinstall the Georgia font if it is currently corrupted.
    You can use the System File Checker to check for missing and corrupted font files.
    It needs to be run from an Elevated Command Prompt.
    Open a cmd.exe window as Administrator:
    Start, click Programs, click Accessories
    Right-click Command Prompt, and choose "Run as administrator"
    Click past the UAC Screen
    After the cmd.exe prompt, type: sfc.exe /scannow and press Enter
    * http://windowsforum.com/threads/system-file-checker-a-great-windows-fix-tool.19250/

  • Opening image files in their own windows in PS4

    Before PS4, I could open image files in their own windows. In PS4, when I want to open more than one file, these open with tabs and any new file I open is added to the tab queue. It is annoying to right click on each tab so each file is in its own window. Is there a universal preference to change this annoying behavior?
    Using a Windows environment with Photoshop CS4 Extended.

    see the tabs setting in the preferences. you can turn that off.

  • I Just converted my iPhoto library to Photos. Now I can't find my RAW files. I need to have all the images in my old library show up in their RAW format.

    I Just converted my iPhoto library to Photos. Now I can't find my RAW files. I need to have all the images in my old library show up in their RAW format.

    Unfortunately no - Photos use extensions and the vendor (adobe) will have to implement the extension to allow external edits in PS or PSE
    For now you must export the photo, edit and then import - not great but a work arond
    And you can continue to use iPhoto until Photos meets your needs - launch it in your applications folder - if you need assistance on this see Why won't my iPhotos open?
    LN

Maybe you are looking for

  • Thin Installer SCCM 2012 Win 8.1

    Hallo zusammen, Ich habe ein Problem mit der Nutzung des Thin Installers, genauer mit der Tasksequenz und den drei (soweit ich weiß) nötigen Vorgängen, um das Treiber Repository als vertrauenswürdig einzustufen, den Thin Installer auf dem Client zu i

  • Create query in Oracle 11g

    Dear All, i have a below create statement query in my Oracle Database - sql developer, when i tried this getting with the exception " 00907. 00000 - "missing right parenthesis" CREATE TABLE FQ01_AA_FUTURE_INSTALLMENTS_M1 ( RECORD_ID VARCHAR (35), mv_

  • Java PreparedStatement error

    I have this statement: pstmt.setDouble(2, (double) 9000000000); where pstmt is PreparedStatement when I compile I got this error: SaveFocus2aCommand.java:666: integer number too large: 9000000000 pstmt.setDouble(2, (double) 9000000000); ^ 1 error Doe

  • How can I have one drum sample mute another in Garageband?

    I'm trying to set up a situation where the muted surdo hit (in the world jam pack) cuts off the decay of the full surdo hit. Much like a closed hihat hit would cut off the decay of an open hihat. I'm using a DRUMKAT as the controller. How can I make

  • Macbook pro retina display broken screen?

    My one week old Macbook pro retina display 13 inch slipped from the bed earlier and I'm not sure what happened but I think the screen broke from the inside? -look at the pictures attached- I bought it from Oman, in the middle east. And I'm moving to