Image size and type

what Icon / Image size and type we should use of our own menu ?
Giuseppe

Hi Giuseppe,
I'm not sure what restrictions there are on image type but I always use a 24bit Bitmap image with width 18px and height 14px. For transparency, set the background colour to RGB 192-220-192 and SBO will automatically make this area transparent, regardless of the colour scheme the user has on the client.
Kind Regards,
Owen

Similar Messages

  • Image size and mime type.. non-java guy needs help

    Image size, mime type.. non-java guy needs help
    Im not at all familiar with java so this is really weird for me to work out. I?ve been doing it all day (and half of yesterday).
    Im trying to write a custom clodFusion tag in java that gets the width, height, size and MIME types of a given file. I?ve been trying to get it to work on the command line first. I can get the width and height but cant get the size and the MIME type.
    Here is what I got
    /*import com.allaire.cfx.*;*/
    import java.awt.image.renderable.*;
    import javax.media.jai.*;
    import com.sun.media.jai.codec.*;
    import java.io.*;
    import java.util.*;
    public class ImageInfo {
    private RenderedOp image = null;
    private RenderedOp result = null;
    private int height = 0;
    private int width = 0;
    private String type = "";
    private String size = "";
    public void loadf(String file) throws IOException
    file = "80by80.jpg";
    FileSeekableStream fss = new FileSeekableStream(file);
    image = JAI.create("stream", fss);
    height = image.getHeight();
    width = image.getWidth();
    System.out.println(height + "\n");
    System.out.println(width);
    System.out.println(type);
    public static void main(String[] args) throws IOException {
    ImageInfo test = new ImageInfo();
    test.loadf(args[0]);
    can anyone please help me out to modify the above so I can also print the mime type and the file size to screen.
    thanks for any help

    any suggestions?

  • Options to view file size and type?

    Where can I turn on options on an image and get the file size and type?
    Thanks.

    Stan,
    You can see the file type by hovering over the file in Library view and it will show the file name followed by the extension like jpg, nef or tiff.
    Alternatively in library mode go to grid view it will pixel size of the files as well as the name of the file withthe format.
    If you are not able to see that go to View>View Option.
    Check the option show header with label
    Hope thatt helps.
    Mandhir

  • How is it posible to get the File name, size and type from a File out the H

    How is it posible to get the File name, size and type from a File out the HttpServletRequest. I want to upload a File from a client and save it on a server with the client name. I want to conrole before saving the name, type and size of the file.How is it posible to get the File name, size and type from a File out the HttpServletRequest.
    form JSP
    <form name="form" method="post" action="procesuploading.jsp" ENCTYPE="multipart/form-data">
    File: <input type="file" name="filename"/
    Path: <input type="text" readonly="" name="path" value="c:"/
    Saveas: <input type="text" name="saveas"/>
    <input name="submit" type="submit" value="Upload" />
    </form>
    proces JSP
    <%@ page language="java" %>
    <%@ page import="java.util.*" %>
    <%@ page import="FileUploadBean" %>
    <jsp:useBean id="TheBean" scope="page" class="FileUploadBean" />
    <%
    TheBean.doUpload(request);
    %>
    BEAN
    import java.io.*;
    import javax.servlet.http.HttpServletRequest;
    import javax.servlet.http.HttpServletResponse;
    import javax.servlet.ServletInputStream;
    public class FileUploadBean {
    public void doUpload(HttpServletRequest request) throws IOException
              String melding = "";
              String filename = request.getParameter("saveas");
              String path = request.getParameter("path");
              PrintWriter pw = new PrintWriter(new BufferedWriter(new FileWriter("test.java")));
              ServletInputStream in = request.getInputStream();
              int i = in.read();
              System.out.println("filename:"+filename);
              System.out.println("path:"+path);
              while (i != -1)
                   pw.print((char) i);
                   i = in.read();
              pw.close();
    }

    Thanks it works great.
    Here an excample from my code
    import org.apache.commons.fileupload.*;
    public class FileUploadBean extends Object implements java.io.Serializable{
    String foutmelding = "geen";
    String path;
    String filename;
    public boolean doUpload(HttpServletRequest request) throws IOException
         try
         // Create a new file upload handler
         FileUpload upload = new FileUpload();
         // Set upload parameters
         upload.setSizeMax(100000);
         upload.setSizeThreshold(100000000);
         upload.setRepositoryPath("/");
         // Parse the request
         List items = upload.parseRequest(request);
         // Process the uploaded fields
         Iterator iter = items.iterator();
         while (iter.hasNext())
         FileItem item = (FileItem) iter.next();
              if (item.isFormField())
                   String stringitem = item.getString();
         else
              String filename = "";
                   int temp = item.getName().lastIndexOf("\\");
                   filename = item.getName().substring(temp,item.getName().length());
                   File bestand = new File(path+filename);
                   if(item.getSize() > SizeMax && SizeMax != -1){foutmelding = "bestand is te groot.";return false;}
                   if(bestand.exists()){foutmelding ="bestand bestaat al";return false;}
                   FileOutputStream fOut = new FileOutputStream(bestand);     
                   BufferedOutputStream bOut = new BufferedOutputStream(fOut);
                   int bytesRead =0;
                   byte[] data = item.get();
                   bOut.write(data, 0 , data.length);     
                   bOut.close();
         catch(Exception e)
              System.out.println("er is een foutontstaan bij het opslaan de een bestand "+e);
              foutmelding = "Bestand opsturen is fout gegaan";
         return true;
         }

  • Image size and dimensions in Safari

    Is there a fast method of viewing image size and dimentions in Safari? I can open image in new tab and see its width and height in tab/window name. I can save image to the Desktop and see file size but it's not convenient. Is there some another way without opening an saving image somewhere like Control+click -> Properties?
    iMac G4   Mac OS X (10.4.3)  

    Pat,
    You don't need to set the image size as such. The image prints on the page according to two sets of criteria:
    1. Whether you set dpi to custom or a specific value, and
    2. The page margins you set either as a printing once-off, or as a new printing pre-set.
    For example, I print "arty" photos in a portrait format on A4 matte paper. Left and right margins are around 3cm, top margin is around 3cm, bottom margin is around 5 cm (all numbers are from memory...). I have a title just below the image.
    I created this particular page setup for a certain photo and liked it so much I saved it as another print preset. Any photo I print using that preset fits within the margins defined. The very next print might be the same photo, but this time printing A3+ on Ilford Galerie Smooth Pearl. Choose the photo, select the relevant print pre-set, print. Re-sizing is irrelevant - the print in both cases is coming from the processed raw at maximum resolution.
    Regards,
    Calx

  • How do you change the image size and resolution in photoshop everytime I change the width the height changes my measurements will not stay

    Can someone assist me with changing image size and resolution.  each time I change the width the height changes and vice/versa?

    There's a chain link between width and height. The point is to keep the aspect ratio the same, otherwise your picture would get stretched.
    You click on the chain-link to shut that off and you can adjust width and height separately.
    Also could you give us your version of Photoshop, what OS you are running it on (Windows 7 for example) and what exactly you want to do with your document?
    Resolution is the print term for how many pixels will be printed on an inch of paper. It doesn't apply if your image is intended for screen viewing.
    Gene

  • Reduce image size and print it out?

    I scanned an image (coloring on a postcard). This size is too big to fit into a 'album' picture in MS Picture It! All I want to do is REDUCE the image and save it so that it will fit into the computer photo album I'm creating.
    I've tried Image/Resize/Image Size and changed the sizing, but it still comes out the exact same size as the original. What am I doing wrong?

    > I want to REDUCE the image, not enlarge it.
    I understood that - what makes you think I didn't?
    > It's 948x645 pixels. I just want the image about an inch (respectively) smaller
    You can't think in terms of inches for screen images. You have to work in pixels and the actual size will depend upon the screen resolution on the machine being used to view the image.
    I'd reduce the pixel size by about 80 to get the effect that you want. Use Image/Resize/Image Size and make sure that you have "Resample" checked.

  • Access image size and color profile

    Hi all,
    Is it possible to access image size and color profile ? If not, will it be possible in CS6 ?
    Thanks.

    Load the external XMP library and get it from that?

  • Recommended image size and dimensions for images displayed on iPad retina?

    What are the recommended dpi image size and dimensions for images designed in DPS app as displayed on an iPad retina?

    Take a look at the following link:
    http://blogs.adobe.com/indesigndocs/2012/03/guidelines-for-creating-folios-for-ipad-3.html

  • The box in my Photoshop Elements, which shows the size and types of brushes has shrunk to one unreadable line. How do I expand the box to its original size?  I have tried dragging it open but nothing moves.

    The box in my Photoshop Elements, which shows the size and type of brushes, has shrunk to one unreadable line. How can I expand this box to its original size? I have tried dragging it open but nothing happens and none of the tool boxes appear to give me an expansion option

    Well, when you open the program, the splash screen, the window you see while the program is opening, should make that clear enough. For example:

  • Checking Image Size and Dimensions

    How do I check the size of an image like a Signature or another image without having to save it and then checking it? Is there a way to check it in Safari?

    What? I don't see "Inspect Element" anywhere.
    Are there any plugins (perhaps at pimpmysafari.com) where we can add functions such as "Properties" for viewing image size and dimensions, as well as "View Image" to view the image by itself? I'm trying to convert from Firefox, but these are a couple of the things getting in the way.

  • Image Sizes and Resolution standards?

    are there any standards for image sizes and resolution for mobile games specifically: backgrounds and backdrops?
    i will be porting my game for various cell phones and i'd like to resize images to fit perfect on all cell phone screens, so what would be the best way to do this and what should my image attributes (height, width) be?
    i've tried researching on google to see if there were any standards and couldn't seem to find any. if these standards are non-existent what image sizes have you used that you found worked best on various mobile phones?
    thanks
    Edited by: sassy on Jun 2, 2008 1:49 PM

    Google's right, there are no real standards for screen sizes. Some are more common than others, but there are dozens of common screen sizes.
    The most common are...
    176x208 (same as 176x220, but with no status bar)
    240x320
    176x220
    [Getjar resolution stats|http://www.mobref.com/statistics/world/gDispResolution]
    Unfortunately, many phones are slightly more or slightly less than those. If you cover those, you're fairly well off though. If you can make your game resolution independent, that's your best option, though with intricate overlays it may be nearly impossible to do.

  • Just upgraded to Win 8.1: PSE 11 now will not let me change the paper size and type in the print properties.

    I have just upgraded to windows 8.1 but my photoshop elements 11 now will not let me change the paper size and type in the print properties.  Also some of the property popup boxes just flash on the screen but do not stay displayed!

    Camera Raw plug-in | Supported cameras
    Camera Raw-compatible Adobe applications
    The D7100 requires Camera Raw 6.5 which is compatible with CS5.
    In CS5, click Help > Updates to update Camera Raw to 6.7 and you'll be able to open and edit Raw D7100 NEF files.

  • ERROR Message: Printer size and type paper is incorrect

    ERROR Message: Printer size and type  paper is incorrect. Its set for automatic detection and regular paper. I unstinstalled and reinstalled the software...and tried other settings. It wont be print just cancels.

    Please read this post then provide some details.  What printer model? What operating system? 
    Bob Headrick,  HP Expert
    I am not an employee of HP, I am a volunteer posting here on my own time.
    If your problem is solved please click the "Accept as Solution" button ------------V
    If my answer was helpful please click the "Thumbs Up" to say "Thank You"--V

  • API to restric size and type documents uploaded

    Hi Guys,
    I'd like to know if exists any api to restrict the each document size and type, when you upload it?
    For example, load anly documents type .pdf with size no higher than 4K.
    Thanks.
    Ciao.Liliana.

    How about using folder quotas to tackle the size issue? As for file types, I'm not sure on how this could be done.

Maybe you are looking for