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...

Similar Messages

  • How do I determine the size of an image ( bytes not dimensions )?

    I am working on an application which downloads images from the web and caches them for speed reasons. I want to allow the users to browse the cache and dump selected images to free up memory. Ideally I would display the image size in bytes for each cache entry, but I haven't seen any way to access this info.
    I do not want dimensions. getIconHeight() * getIconWidth() doesn't address bit depth at all, which can make a huge difference. If there was some getBytes() method I could use that, but I haven't found one yet.
    Help?

    Only if you use a stream and count the bytes. I'm loading it like this:
    ImageIcon foo = new ImageIcon( new URL( "http://foo/bar/baz.gif" ) );

  • Where can you see the size of your image?

    Hi all,
    For contests and such, I need to know the size of my images. I don't know where the size--in inches--displays in LR, so I always have to export to Photoshop to see what the size of the image is at different resolutions (240ppi, 300ppi, 600ppi). There must be a way, can anyone fill me in?
    Thanks!
    Alec

    You wrote:
    "images are by and large worthless in the real world unless they are printed in some fashion which requires inches"
    Yes, but that does not mean that images on your computer (your hard drive) have a dimension in inches. The size in inches is determined on output for printing and varies according to the resolution that you choose for the print. For instance if you have an image with a pixel size of 2000 x 3000 pixels - if you print it at a resolution of 300 ppi / dpi the image size in inches will be 6.66" x 10". If you print it with a resolutin of 200 ppi / dpi the size in inches will be 10" x 15"; and if you print it with a resolution of 100 ppi / dpi the size will be 20" x 30". Of course, a print resolution of 100 ppi / dpi is only theoretical, because the quality of the print will be awful, and if you want to print an image of 2000 x 3000 ppi in a size of 20' x 30' you have to upsample (enlarge) it first.
    So size of an image in inches is detyermind by the formula: pixel amount / resolution in ppi/dpi.
    ppi = pixels per inch - ppi is used when we talk about an image on screen
    dpi = dots per inch - dpi is used when we talk about print output.
    You also wrote:
    "LR printing is fine for snapshots but insufficient for printing from large format printers for fine art."
    Why, do you say that? Printing from LR is not substantially different than printing from Photoshop. LR gives you the same printing options as does Photoshop.
    I suggest you have a second look at the Print Module in LR.
    WW

  • How Can I Determine the Size of the 'My Documents' Folder for every user on a local machine using VBScript?

    Hello,
    I am at my wits end into this. Either I am doing it the wrong way or it is not possible.
    Let me explain. I need a vb script for the following scenario:
    1. The script is to run on multiple Windows 7 machines (32-Bit & 64-Bit alike).
    2. These are shared workstation i.e. different users login to these machines from time to time.
    3. The objective of this script is to traverse through each User Profile folder and get the size of the 'My Documents' folder within each User Profile folder. This information is to be written to a
    .CSV file located at C:\Temp directory on the machine.
    4. This script would be pushed to all workstations from SCCM. It would be configured to execute with
    System Rights
    I tried the script detailed at:
    http://blogs.technet.com/b/heyscriptingguy/archive/2005/03/31/how-can-i-determine-the-size-of-the-my-documents-folder.aspx 
    Const MY_DOCUMENTS = &H5&
    Set objFSO = CreateObject("Scripting.FileSystemObject")
    Set objShell = CreateObject("Shell.Application")
    Set objFolder = objShell.Namespace(MY_DOCUMENTS)
    Set objFolderItem = objFolder.Self
    strPath = objFolderItem.Path
    Set objFolder = objFSO.GetFolder(strPath)
    Wscript.Echo objFolder.Size
    The Wscript.Echo objFolder.Size command in the script at the above mentioned link returned the value as
    '0' (zero) for the current logged on user. Although the actual size was like 30 MB or so.
    I then tried the script at:
    http://www.experts-exchange.com/Programming/Languages/Visual_Basic/VB_Script/Q_27869829.html
    This script returns the correct value but only for the current logged-on user.
    Const blnShowErrors = False
    ' Set up filesystem object for usage
    Set objFSO = CreateObject("Scripting.FileSystemObject")
    Set objShell = CreateObject("WScript.Shell")
    ' Display desired folder sizes
    Wscript.Echo "MyDocuments : " & FormatSize(FindFiles(objFSO.GetFolder(objShell.SpecialFolders("MyDocuments"))))
    ' Recursively tally the size of all files under a folder
    ' Protect against folders or files that are not accessible
    Function FindFiles(objFolder)
    On Error Resume Next
    ' List files
    For Each objFile In objFolder.Files
    On Error Resume Next
    If Err.Number <> 0 Then ShowError "FindFiles:01", objFolder.Path
    On Error Resume Next
    FindFiles = FindFiles + objFile.Size
    If Err.Number <> 0 Then ShowError "FindFiles:02", objFile.Path
    Next
    If Err.Number = 0 Then
    ' Recursively drill down into subfolder
    For Each objSubFolder In objFolder.SubFolders
    On Error Resume Next
    If Err.Number <> 0 Then ShowError "FindFiles:04", objFolder.Path
    FindFiles = FindFiles + FindFiles(objSubFolder)
    If Err.Number <> 0 Then ShowError "FindFiles:05", objSubFolder.Path
    Next
    Else
    ShowError "FindFiles:03", objFolder.Path
    End If
    End Function
    ' Function to format a number into typical size scales
    Function FormatSize(iSize)
    aLabel = Array("bytes", "KB", "MB", "GB", "TB")
    For i = 0 to 4
    If iSize > 1024 Then iSize = iSize / 1024 Else Exit For End If
    Next
    FormatSize = Round(iSize, 2) & " " & aLabel(i)
    End Function
    Sub ShowError(strLocation, strMessage)
    If blnShowErrors Then
    WScript.StdErr.WriteLine "==> ERROR at [" & strLocation & "]"
    WScript.StdErr.WriteLine " Number:[" & Err.Number & "], Source:[" & Err.Source & "], Desc:[" & Err.Description & "]"
    WScript.StdErr.WriteLine " " & strMessage
    Err.Clear
    End If
    End Sub
    The only part pending, is to achieve this for the 'My Documents' folder within each User Profile folder.
    Is this possible?
    Please help.

    Here are a bunch of scripts to get folder size under all circumstances.  Take your pick.
    https://gallery.technet.microsoft.com/scriptcenter/site/search?query=get%20folder%20size&f%5B0%5D.Value=get%20folder%20size&f%5B0%5D.Type=SearchText&ac=2
    ¯\_(ツ)_/¯

  • 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.

  • How to determine the size of an InputStream??

    Hello,
    I need to get the size of an inputstream. In fact, I am working with java.nio.channels and need to tranfer a file from within a Jar to the FileSystem.
    I have created a ReadableByteChannel from the jar resource, and a FileChannel from the FileSystem destination. The problem is that to use the FileChannel .tranferFrom(..) I need the size of the src file. But, ReadableByteChannel has no size() method.
    How can I determine the size of this InputStream??
    advanced Thanx
    here is code:
    private void copyResourcesToFileSystem(){
              try{
                        String name = getFileName(); // gets the name
                        ReadableByteChannel srcChannel =
                             Channels.newChannel(this.getClass().getClassLoader().getResourceAsStream(("dtd/"+name)));
                        File newFile = new File(TempDirCreator.getXmlDir(),name);
                        FileChannel dstChannel = new FileOutputStream(newFile).getChannel();
                        dstChannel.transferFrom(srcChannel, 0, srcChannel.size());  // doesn't work -- there is no ReadableBC.size()
                        // lets close the show
                        srcChannel.close();
                        dstChannel.close();
              }catch(IOException x){x.printStackTrace();}
              catch(Exception ex){ex.printStackTrace();}
         }

    In general the "size of an InputStream" is a meaningless concept. It's possible to have an InputStream that never terminates. So if you can't get a size from whatever you're reading from, you're out of luck.
    I missed where you explained why you need the size. I've never felt the need to know how many bytes would be passing through my code when copying from input to output.

  • How to determine the size (in pixels) of the current mode

    Hello.
    I am looking for a was to determine the size (horizontal and vertical pixels) of the current mode (SAPGUI window). I have already looked through the methods provided by class CL_GUI_CFW...
    CL_GUI_CFW=>GET_METRIC_FACTORS provides the size of you display (i.e. 1600 x 1200 pixels) and some other information I am not able to interprete.
    Futhermore I have had a look at the Methods CL_GUI_CFW=>COMPUTEPIXEL, but I don´t know how to use them.
    Has anybody of you any experiences in this topic? I would be grateful ...
    MIKE

    Sorry Manoj,
    but i didn´t find out, why these programs should be able to solve my issue. They just display a picture using the CL_GUI_PICTURE control.
    I am looking fo a way to resize a given control to the very maximum, so that it fills the whole SAPGUI window!
    Thanks anyway...
    MIKE

  • 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.

  • 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.

  • How do I determine the size of an event (cmd I does not show any size for events).

    How do I determine the size of an Event in iPhoto? (Cmd + I does not show size information at the event level).

    If you're running iPhoto 8 (09) select the event and look at the Info pane at the lower left hand corner of the window.  It will give you the number of photos and size:
    for iPhoto 9 (11) open the Event, select all of the photos in it and open the Info drawer at the right by typing Command+i.  The number of photos and size will be at the top of the Info drawer.
    OT

  • 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 determine the size of an iMovie09 project?

    Hello:
    I recently created a nice video of about 2 hours in iMovie09. I "shared" it to iDVD but it was about 10% too big to burn. I went back to iMovie09 and removed some time to make the project smaller but how can I determine the size of my iMovie09 projects before I send them to iDVD? I know that both time and audio will affect the size of the iMovie09 project so the time of the video is not necessarily an accurate indicator.
    Thanks!

    Welcome to iMovie Discussions.
    As long as your movie is under about 1hr 50 minutes it should fit on a DVD.
    The thing which determines how much time is available on your DVD is usually the complexity of any Menus which you add in iDVD.
    With a simple Menu, which may "eat up" 10 mins of space, you should have room for 1h 50mins of movie.
    With complex, multi-level menus, your movie running time may be reduced by about 25 mins, or possibly more.
    Keep menus simple, and you should have space for about 1hr 50mins. It's always running time which counts, NOT "size" (in GB) of your movie.

  • Determine the Size of an Object in ObjectInputStream

    Hi all,
    I have a quick question. I have a class that is being written over a socket using ObjectOutputStream and ObjectInputStream. I want to be able to set the buffer size of the socket to fit only ONE object. Can anybody tell me how to determine the size of that object?
    (Note, the object has a Properties object within it, but for the time being, it can be assumed that properties object will always be the same.)
    - Adam

    Having written it to the outputStream, thought, can
    the size be determined somehow by the inputStream?No, it can't
    This is related to my previous question (on Pushlets
    and Thread Priorities). I didn't read that one.
    I believe that it's possible
    that multiple threads are trying to write to the
    socket at the same time, and I cannot synchorize the
    input stream to get a lock on it. Do you mean the outputstream? Why can't you synchronize the method that writes to the outputstream?
    I thought this
    might be causing the data to not be sent over the
    socket until all the threads have finished. That doesn't sound correct. But you could call the flush method when an object is written.
    I
    figured if I reduced the size of the socket buffer,
    it would only accept a single object, eliminating
    this problem?I don't think so.
    /Kaj

  • 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

Maybe you are looking for

  • Displaying a prompt on report's initial load

    Hi, I know that in WebI I can set a prompt to be displayed when the data is refreshed but that's not what I wish to accomplish at the moment.  What I want to do is to display a prompt when the report is first loaded.  Example:  As soon as the user op

  • Single Line Data Type to Collection Data type, Problem in Message mapping

    I have a csv file, the file has the following lines hdr1 line1 line2 lineN hdr2 line1 lineN I want it to map it to an object with the ff structure root object 1..1 object 1..1 subobject 0...n hdr 1..1 line 1...n How is the mapping of the said data ty

  • JtextArea Font Resize on Ctrl+Mouse wheel Scroll

    How can I create a JtextArea which can Resize my Font size by Ctrl+Scroll wheel move? Peace n Regards Chandrajeet

  • Converasion Tool for CCB

    Hi , i am trying to migrate to CCB, but could not find the Conversion Tool in edelivery, Can anyone tell me where can i get it from. Is that i have to use Conversion Tool for migration or can use Oracle Data integrator. which one is quite friendly?.

  • How to use VXI-1394 with notebook computer

    hello! Some notebook computers have 1394 port. Now I want to use notebook computer to control the VXI-1394 module.It's said that you are writting the drivers for the VXI-1394 which is used in notebook computer.I don't know whether this kind of driver