Checking the size of the image..

Hi All,
i have attached am image from using attachments functionality from Purchasing module.
the image get stored in table fnd_lobs..
Now i want to know the size of the image..
whether it is 30kb or 1MB..
Is there any function in Oracle to calculate the image size..
We are on 11.5.10.2
and 11g DB.
Regards,
Jana

Pl see MOS Doc 401094.1 (How To Determine The Size of a File In Table FND_LOBS?)
HTH
Srini

Similar Messages

  • Increasing the size of an image

    I have a BufferedImage and I want to double the size of this image.
    I have used following code for that but this approach distorts results.
    public static BufferedImage enlarge(BufferedImage image) {
    int w = 2 * image.getWidth();
    int h = 2 * image.getHeight();
    BufferedImage enlargedImage =
    new BufferedImage(w, h, image.getType());
    for (int y=0; y < h; ++y)
    for (int x=0; x < w; ++x)
    enlargedImage.setRGB(x, y, image.getRGB(x/n, y/n));
    return enlargedImage;
    Is there some build in method in Java that uses Interpolation to increase size of an Image.
    best wishes
    M3

    Consider using AffineTransform or simply scale() method of graphics.
    For instance check this post http://www.javalobby.org/java/forums/t19387.html
    Choosing good interpolation hints may imrpove quality of result
    see docs for RenderingHints.KEY_INTERPOLATION and java.net forums.

  • What is happening when I change the size of the image in the program sequence window?

    I noticed that I can change the image size of my exported file. I imported a 720 x 480 DV file into CS5.5. I went to my program sequence window and changed the settings to show the smallest image in that window. I then clicked on the image and used the handles that appear to make that small image large enough to nearly fill the screen. When I exported my final file and played the resulting WMV, the image on my screen was nearly twice as large as it would have been if I had not previously altered the image size in the program sequence window. I had to do this alteration for each clip in my timeline, or the unaltered ones would stay at the smaller size. The quality did not seem to be significantly impaired. I learned about this on a youtube video. The person who did the video claimed that this was a simple and quick way to upgrade standard video to HD. Of course this is not true. He was only changing the size of the resulting video. Does anyone know what is really happing when you do this procedure and why it changes the size of the exported  video?

    The size (resolution) of the exported video is not affected by anything you do while editing.  It is dependant solely on the resolution set in the export settings.
    Ideally you want to edit in an sequence that matches your media\, which will be the same size or larger than the required export.  In other words, the same or smaller is OK.  Making things bigger in post is not the best option.  If you need things bigger, shoot them bigger.

  • Can you change the size of the preview images on an Apple TV without changing video resolution?

    I have a 32 inch LCD TV. My room is relatively large and I can't easily see the preview images or read the text on the TV across the room. Is it possible to change the size of preview images in the menu screens without increasing the resolution of the TV itself? I think this should be possible, but can't seem to find a way to do it.

    No that's not something you can do on the Apple TV.
    If you have any suggestions that you think might enhance the Apple TV you can send Apple your feedback here.

  • How to set the size of an image

    hi,
    I have a database which contain an image. now i want to retrieve this image & want to show this image in my jsp page as user's defined size. I have following code. My following code shows the original size of an image. Now i want to see different size of this image. How is this possible? I know control the size of this image after saving this image
    in a file. but i want to control the size of this image without saving this image in a file? IS it possible ? Is there anybody can help me?
    Please help me.
    ResultSet rs = null;
    PreparedStatement ps=null;
         InputStream sImage=null;
         byte[] imagebyte=null;
         String var;
         String name=request.getParameter("RegName") ;
         String image =request.getParameter("ImageFile");
         out.println(name);
         out.println(image);
         out.println();
         ps=con.prepareStatement("insert into t_image (ID, Image) values(?,?);");
           File file =new File(image);
        FileInputStream in = new FileInputStream(file);
        ps.setInt(1,1234);
        ps.setBinaryStream(2,in,(int)file.length());
        ps.execute();  
        rs =stm.executeQuery("select Image from t_image where ID=1234");
        if(rs.next()) {
       imagebyte =rs.getBytes(1);
        response.reset();
        response.setContentType("image/jpeg");
        %>
    <%
    response.getOutputStream().write(imagebyte);
    %>
    <%
        response.flushBuffer();
    %>With regards
    Bina

    hi,
    I have a database which contain an image. now i
    want to retrieve this image & want to show this
    image in my jsp page as user's defined size. I have
    following code. My following code shows the original
    size of an image. Now i want to see different size
    of this image. How is this possible? I know control
    the size of this image after saving this image
    n a file. but i want to control the size of this
    image without saving this image in a file? IS it
    possible ? Is there anybody can help me?This has nothing to do with JDBC; you can only store and retrieve the image you have and there's no image manipulation functions in JDBC (nor should there be).
    I can see 2 options:
    1) serve the image file as is, but in the jsp that writes the html that contains the "<img>" tag that gets it, use the "height" and/or the "width" to scale the suppied image to presentation size you want.
    2) find some image manipulation code that will convert the image into the size you want
    Option 1 will work well if the problem you have is merely refining the image size for presentation. Option 2 is your only coice if it's the image files size itself you really want to change, not just it's appearance on a page.

  • Why is the size of new image constructed using Bufferd Image class less?

    I am trying to compress image losslessly, for start I what I am doing is:
    step1. Access pixels of .jpg image and store in array
    Step2. Reconstruct the image from same array
    What I have found is, that the size of new image constructed is less than the original.
    I am pasting the code below
    public static void main(String[] args) {
    BufferedImage sourceImage = null;
    try {
    sourceImage = ImageIO.read(new File("Sample.jpg"));
    } catch (IOException e) {
    int type = sourceImage.getType();
    int w = sourceImage.getWidth();
    int h = sourceImage.getHeight();
    byte[] pixels = null;
    if (type == BufferedImage.TYPE_3BYTE_BGR) {
    System.out.println("type.3byte.bgr");
    pixels = (byte[]) sourceImage.getData().getDataElements(0, 0, w, h, null);
    try {
    BufferedImage edgesImage = new BufferedImage(w, h, BufferedImage.TYPE_3BYTE_BGR);
    edgesImage.getWritableTile(0, 0).setDataElements(0, 0, w, h, pixels);
    ImageIO.write(edgesImage, "jpg", new File("result.jpg"));
    } catch (IOException e) {
    Please could any one explain me why is it so?

    I am working on a IEEE paper where in I am supposed to achieve a better compression ratios as compared to current JPEG standards. So if only loading and displaying the image results in size reduction and quality too, how do I go ahead with my algorithmI suggest you:
    (a) start with images in an uncompressed format such as TIFF, rather than a format which is already lossy (JPEG)
    (b) acquire some basic knowledge about JPEG before you attempt to improve on it, and
    (c) learn to quote accurately. Otherwise your paper will be refereed out of existence. I didn't say anything about 'loading and displaying the image resulting in size reduction and quality too'. I said 'loading and storing'; and 'change the contents', not 'size reduction and quality too'.
    A JPEG load and store operation does not result in a bitwise identical file. Frankly you should already know that.

  • In putting together a book I can move photos onto a page and enlarge the picture but is there a way to reduce the picture size? some cases I want a smaller picture and if I change the size of the picture box I only get a portion of the image. I wnt to red

    picture size...in putting together a book I can move photos onto a page and enlarge the picture but is there a way to reduce the picture size? some cases I want a smaller picture and if I change the size of the picture box I only get a portion of the image. I want to reduce the image to fit the size of the box.

    If you right click on the image on the page in the context menu select photo box alignment and then select one of scale to fit {centered, Left-aligned, Right-aligned}
    That should do what you are loking for.

  • Determining the size of an Image

    I am running Pages 5.2 and I have a document with a whole load of images taken from photos. Usually I shrink the original images to keep the document size manageable but I forgot on some but I don't know which. Is there a way I can determine the size of individual images in the document ?

    In Pages v5.2, there does not appear any means to assess the image storage size, but File > Reduce File Size will offer a prompt stating an amount it can reduce the current selected image.
    Another approach is to select the image, and press command+C to put it on the clipboard. Launch Preview, ignore the open dialog, and choose File > New from Clipboard. You now have two choices to assess image size: 1) Use the Inspector (General Info panel) from the toolbar, or 2) Menu > Tools > Adjust Size...

  • Adjusting the size of an image going into Photoshop from LR2

    At the bottom of the Adobe Camera Raw converter, there is a box that allows you to either make the default RAW file smaller or larger as it goes into PS. In Lightroom 2, I found the Edit In command, and the options to change to 16 bit and the color profile picker, but I don't see a command to change the size of the image.
    Any help would be appreciated.
    M. Jackson

    It's not there. It will only go into Photoshop at native resolution. Then it is one second work to scale it in Photoshop if you really need to.

  • How to control the size of SVG images in epub files?

    There is unfortunately no support for SVG files in InDesign.
    Most of my images in jpg convertes nicely, but the small ones do not.
    Therefore I want to use SVG files which I have created in Illustrator.
    But how do I set the size in the epub file? Right now, whatever I do, they come out too big and I don't know how to control the size.
    Is there a program, like Sigil or other, that can place the image for me - I'm no html wizard you see....

    In any Java program, it is good practice to make sure your live objects leave some room in the heap for "scratch space." Without this, you will spend too much time in GC, and, in the worst cases, run out of memory. In the general case, you can see how much live data your application requires by looking at the heap used after a full GC's. For Coherence, you should ensure that live data, as you say, is under 70% of the maximum heap size.
    Coherence provides you tools to help enforce this policy. [http://coherence.oracle.com/display/COH35UG/local-scheme] describes how to size limit your cache. By implementing an eviction policy, you can control what happens when a size limit is exceeded.

  • For best performance what's the size of an image to be stored in database?

    Hi all,
    can any one tell me..for best performance what's the size of an image to be stored in database?
    is it <256kb  or >256mb?
    when i google  we can store image as varbinary(max) and its limit upto 2GB..
    Can anyone exlain it?
    is it performance wise better..
    thanx in advance..
    lucky

    Your question does not seem apparently meaningful. If you need to store a 5MB image in the database, you store a 5MB image, not a 200 KB image or a 200 MB image. Business needs always trumph performance.
    Not surprisingly, the larger the image the more resources it takes to read and write it.
    What is a meaningful question is whether you should use the FILESTREAM feature or not. The cut-off limit here is usually given as 1MB. That is, if your images typically exceeds 1MB you should use FILESTREAM and access the data through Win32
    API. If your images are generally below this size, you should stick to regular T-SQL.
    Erland Sommarskog, SQL Server MVP, [email protected]

  • How can I set the size of an image in java?

    How can I set the size of an image in java? I have to choose the width and height of image...thanks to everybody...sorry for my english :-)

    Hi 43477
    Can you provide more details, do you want to setsize to display an image on a screen of when saving image etc?
    PS.
    There is a good invention called googlegoogle is good, but sometimes it's better to use more specific search, there is a search field avove on this page :)

  • How to detect the size of an image

    Hi,
    I have a servlet which grabs an image (jpg or gif) from a BLOB stored in my database and sents the image back to the client through the ServletOutputStream. This all works good and the image is presented nicely. However, I now want to have my servlet detect the size of the image, and if it is too big resize the image and return it.
    As I am new to images in JAVA I am unsure how to do this and what tools to use for it. I found some information on JAI, but this seems way to elaborate for what I need. Please let me know if anyone knows how to do this.
    Thank you and regards,
    Joost Schouten

    This code figures out the size of any object in bytes. I am not sure about resizing the image though..
    public int getSerializedSize(Object object)
           try
              ByteArrayOutputStream baos = new ByteArrayOutputStream();
              ObjectOutputStream oos = new ObjectOutputStream(baos);
              oos.writeObject(object);
              byte[] bytes = baos.toByteArray();
              oos.close();
              baos.close();
              return bytes.length;
           catch(Exception e) //not good
              e.printStackTrace();
           return -1;
         }Rishi

  • How to decrease the size of an image (CS5)?

    I need help with how to reduce the size of an image to fit various smaller sizes.  E.g. 135 x 380mm, 254 x254mm etc mounted/matted. Therefore, the image must be made smaller than these sizes without losing quality and any part of the image. I am unable to crop to achieve these sizes since I need the full image. These photos were taken by using a Canon D450 camera and in both RAW & JPEG.
    Your help is much appreciated.

    You may want to use Image > Image size... and dial in the sizes you want.
    Set your units to mm in the dialog. Turn off resample and you can adjust the final print size.
    What I am showing you is called "scaling", changing the print size without throwing out pixels as resample would do. Your image is  intact. This is from CS6, but it should be about the same in CS5.
    Gene

  • Is there anyway to change the size of the font in images in slideshow

    You seem to be able to change the size and style of the font in embedded Image Gallery, but is there a way to change the size of the font, that is displayed in the full screen slideshow mode? Small white font over black bars are very hard to read.

    Yes. Hit the Edit button top right of the EXS24. Should be selfexplanatory after that.

Maybe you are looking for

  • Is there available a good BSP tutorial in PDF format?.

    Is there available a good BSP tutorial in PDF format?. I have the Advanced BSP Programming book but am missing a general introduction/tutorial. On another subject, I have to add further details to one of the views in the Interaction center. The view

  • H264 and mp3 support in VLC needed ? streaming.ffmpeg

    I have found that I need to VLC (video-lan-client) with mp3 support so I used the cvs version of ffmpeg in the  AUR packages but this doesn't seem to support H264 video. How do I add H264 support to the PKGBUILD so I can have both. ? Any help greatly

  • Reboot my macbook pro 2010.

    Hi, my macbook pro is restarting all the time and the error message below. had no problem when installing the MAC OS mavericks. I installed windows but it gave the same problem. can someone tell me what's wrong? that will have to replace the logic bo

  • Packaging and forwarding at two levels

    In the A/R Invoice, freight can be specified at both row level i.e. INV2 and at invoice level i.e. INV4. I can calculate the fright at the invoice level and display in pld. When I add the table INV2 in the repetitve area, it is getting displayed ever

  • External Services Management

    Hi Can any one explain what is Service Hierarchy and how many levels of hierarchy are there in different releases of SAP i.e., 4.6C, 4.7EE & ECC 6.0. Earliest reponse highly appreciated. Thanks Sri.