Type size and property presets?

I ran across a video or article a while back and can't seem to find.  Here is what I'm trying to accomplish and maybe some tips/links from the Forum can help this fron-end designer out!
building site pages via Photoshop for markup development, it sucks having to always pull down the font drop-down and select the font, tab to the size and change, kerning, etc.....
Is their a "most used" or "presets" for composition.  Also if their maybe any other "web design" specific little hidden gems like that in CS6, I'm all ears.
thanks for any help!!

You need Style ;-)
http://psd.tutsplus.com/tutorials/tutorials-effects/paragraph-and-character-styles-photosh op-cs6/

Similar Messages

  • Error in Portal Navigation - Font Type, Size and formatting.

    We carry through all the tips postadas in the SDN to solve this problem, however we the same have some different stations with problem.
    We are using the Bi 7,0 Portal, and we are with problems in the layout: <b>Font Type, Size and formatting</b>, and WEB.
    Somebody has some specific tip for this problem?
    Regards,
    Sbrissa.

    Hi Biroj, thanks, I´m check the error continues...
    Thanks,
    Sbrissa.

  • How do I add text boxes that people can edit font type, size, and color in Adobe Reader

    How do I add text boxes that people can edit font type, size, and color in Adobe Reader? I am using Acrobat Pro XI.

    It is possible. Add your text fields and in their Properties set them to have Rich Text Contents (under Options). This will allow the users to specify all kinds of formatting settings for those fields (by pressing Ctrl+E and using the Properties bar).

  • CS4 Type Size and Color

    I know I'm not the brightest guy in the world and don't have the knowledge that most have on this board. But I was excited when CS4 arrived because I enjoyed working with MX so much, I thought some of the new features would be good. And I'm sure most of them are.
    However, I can't tell you how much just changing a text size or color infuriates me because it keeps popping up with style and spry boxes to "add" or "name" or whatever. Why something that was so simple was made so difficult is beyond my limited knowledge. I posted this before and got some condescending replies that "styles were easy", etc., but for me it's pure hell. Why Dreamweaver would think creating a style is easier than picking a number/color escapes my logic.
    In fact, it's frustrated me so much that my company has given me the okay to build a completely new site, using a hosting company where we can update via a WYSIWYG web platform. That's how much CS4 has made my job difficult. (We also use Contribute as we have multiple stations that update 'their' pages.)
    I'm glad the program works for more experienced individuals, but it's done nothing but frustrate the crap out of me.
    Sorry for the rant. I don't usually do this, but I wanted Dreamweaver to know. If they can fix that in the future, I'm sure I wouldn't be the only one happy.
    (And I do mean this . . . ) Have a good week!
    Mark Moore

    However, I can't tell you how much just changing a text size or color infuriates me because it keeps popping up with style and spry boxes to "add" or "name" or whatever. Why something that was so simple was made so difficult is beyond my limited knowledge. I posted this before and got some condescending replies that "styles were easy", etc., but for me it's pure hell. Why Dreamweaver would think creating a style is easier than picking a number/color escapes my logic.
    The reason is that the old point-and-click method used outdated inline HTML formatting and is now deprecated across the web (not just Dreamweaver).
    Dreamweaver responded to market demands from end users.
    Sorry if this sounds condescending but the web has evolved from HTML formatting to the much more flexible, powerful and easy to maintain Cascading Style Sheets.
    Takes a couple of extra steps upfront to name and define a style.
    Edits and future maintenance from then on require a couple of mouseclicks to change an entire website and ensure consistent formatting sitewide.
    None of that power and flexibility is possible with inline HTML formatting.

  • We want virtual sliders for type size and leading

    Just like in Photoshop:  press CMD (Mac) and slide the mouse to increase/decrease size.
    This should be enabled througout the suite!

    Aerosmith's "dream on" song comes to mind, add that request to the long list of so many features that are missing or under developed.
    But you never know, if it is something Adobe feels they can market as a "feature" to make money off of then it might come about, otherwise you may have to wait a while.

  • RAM type, size and speed

    Hi,
     I have Pavillion dv6130us . Looking for RAM upgrade. Can I install pc2-6400 instead of pc2-5300 on this machine? .. What is the maximum size of RAM I can use on this machine? 
    Any help will be appreciated.
    Thank You

    HI,
    touchworks wrote:
    Hi,
     I have Pavillion dv6130us . Looking for RAM upgrade. Can I install pc2-6400 instead of pc2-5300 on this machine? .. What is the maximum size of RAM I can use on this machine? 
    Any help will be appreciated.
    Thank You
    Crucial Ram upgrade
    Can I install pc2-6400 instead of pc2-5300 on this machine?  No. The BIOS is set to accept  only PC5300. 
    2GB maximum DDR2 memory
    Best regards,
    erico
    ****Please click on Accept As Solution if a suggestion solves your problem. It helps others facing the same problem to find a solution easily****
    2015 Microsoft MVP - Windows Experience Consumer

  • File Server - File size\type search and save results to file

    I already have a vb script to do what I want on our file server, but it is very inefficient and slow.  I was thinking that a powershell script may be more suitable now but I don't know anything about scripting in PS.  So far the vb code that I
    have works, and I am not the one who wrote it but I can manipulate it to do what I want it to.  The only problem is, when I scan the shared network locations it stops on some files that are password protected and I don't know how to get around it.  If
    someone else knows of a PS script to go through the file system and get all files of a certain type or size (right now, preferably size) and save the file name, size, path, owner and dates created\modified please point me to it and I can work with that.  If
    not, could I get some help with the current script that I have to somehow get around the password protected files?  They belong in a users' HOME directory so I can't do anything with them.  Here is my code:   
    'Script for scanning file folders for certain types of files and those of a certain size of larger'
    'Note: Script must be placed locally on whichever machine the script is running on'
    '***********VARIABLES FOR USE IN SCRIPT***********'
    'objStartFolder - notes the location of the folder you wish to begin your scan in'
    objStartFolder = "\\FileServer\DriveLetter\SharedFolder"
    'excelFileName - notes the location where you want the output spreadsheet to be saved to'
    excelFileName = "c:\temp\Results_Shared.xls"
    '**********END OF VARIABLES**********'
    Set objFSO = CreateObject("Scripting.FileSystemObject")
    fileName = objFSO.GetFileName(path)
    'beginning row and column for actual data (not headers)'
    excelRow = 3
    excelCol = 1
    'Create Excel Spreadsheet'
    Set objExcel = CreateObject("Excel.Application")
    Set objWorkbook = objExcel.Workbooks.Add()
    CreateExcelHeaders()
    'Loop to go through original folder'
    Set objFolder = objFSO.GetFolder(objStartFolder)
    Set colFiles = objFolder.Files
    For Each objFile in colFiles
    Call Output(excelRow) 'If a subfolder is met, output procedure recursively called'
    Next
    ShowSubfolders objFSO.GetFolder(objStartFolder)
    'Autofit the spreadsheet columns'
    ExcelAutofit()
    'Save Spreadsheet'
    objWorkbook.SaveAs(excelFileName)
    objExcel.Quit
    '*****END OF MAIN SCRIPT*****'
    '*****BEGIN PROCEDURES*****'
    Sub ShowSubFolders(Folder)
    'Loop to go through each subfolder'
    For Each Subfolder in Folder.SubFolders
    Set objFolder = objFSO.GetFolder(Subfolder.Path)
    Set colFiles = objFolder.Files
    For Each objFile in colFiles
    Call Output(excelRow)
    Next
    ShowSubFolders Subfolder
    Next
    End Sub
    Sub Output(excelRow)
    'convert filesize to readable format (MB)'
    fileSize = objFile.Size/1048576
    fileSize = FormatNumber(fileSize, 2)
    'list of file extensions currently automatically included in spreadsheet report:'
    '.wav, .mp3, .mpeg, .avi, .aac, .m4a, .m4p, .mov, .qt, .qtm'
    If fileSize > 100 then'OR objFile.Type="Movie Clip" OR objFile.Type="MP3 Format Sound" _ '
    'OR objFile.Type="MOV File" OR objFile.Type="M4P File" _'
    'OR objFile.Type="M4A File" OR objFile.Type="Video Clip" _'
    'OR objFile.Type="AAC File" OR objFile.Type="Wave Sound" _'
    'OR objFile.Type="QT File" OR objFile.Type="QTM File"'
    'export data to Excel'
    objExcel.Visible = True
    objExcel.Cells(excelRow,1).Value = objFile.Name
    objExcel.Cells(excelRow,2).Value = objFile.Type
    objExcel.Cells(excelRow,3).Value = fileSize & " MB"
    objExcel.Cells(excelRow,4).Value = FindOwner(objFile.Path)
    objExcel.Cells(excelRow,5).Value = objFile.Path
    objExcel.Cells(excelRow,6).Value = objFile.DateCreated
    objExcel.Cells(excelRow,7).Value = objFile.DateLastAccessed
    excelRow = excelRow + 1 'Used to move active cell for data input'
    end if
    End Sub
    'Procedure used to find the owner of a file'
    Function FindOwner(FName)
    On Error Resume Next
    strComputer = "."
    Set objWMIService = GetObject("winmgmts:" _
    & "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2")
    Set colItems = objWMIService.ExecQuery _
    ("ASSOCIATORS OF {Win32_LogicalFileSecuritySetting='" & FName & "'}" _
    & " WHERE AssocClass=Win32_LogicalFileOwner ResultRole=Owner")
    For Each objItem in colItems
    FindOwner = objItem.AccountName
    Next
    End Function
    Sub CreateExcelHeaders
    'create headers for spreadsheet'
    Set objRange = objExcel.Range("A1","G1")
    objRange.Font.Bold = true
    objExcel.Cells(1, 1).Value = "File Name"
    objExcel.Cells(1, 2).Value = "File Type"
    objExcel.Cells(1, 3).Value = "Size"
    objExcel.Cells(1, 4).Value = "Owner"
    objExcel.Cells(1, 5).Value = "Path"
    objExcel.Cells(1, 6).Value = "Date Created"
    objExcel.Cells(1, 7).Value = "Date Modified"
    End Sub
    Sub ExcelAutofit
    'autofit cells'
    Set objRange = objExcel.Range("A1")
    objRange.Activate
    Set objRange = objExcel.ActiveCell.EntireColumn
    objRange.Autofit()
    Set objRange = objExcel.Range("B1")
    objRange.Activate
    Set objRange = objExcel.ActiveCell.EntireColumn
    objRange.Autofit()
    Set objRange = objExcel.Range("C1")
    objRange.Activate
    Set objRange = objExcel.ActiveCell.EntireColumn
    objRange.Autofit()
    Set objRange = objExcel.Range("D1")
    objRange.Activate
    Set objRange = objExcel.ActiveCell.EntireColumn
    objRange.Autofit()
    Set objRange = objExcel.Range("E1")
    objRange.Activate
    Set objRange = objExcel.ActiveCell.EntireColumn
    objRange.Autofit()
    Set objRange = objExcel.Range("F1")
    objRange.Activate
    Set objRange = objExcel.ActiveCell.EntireColumn
    objRange.Autofit()
    Set objRange = objExcel.Range("G1")
    objRange.Activate
    Set objRange = objExcel.ActiveCell.EntireColumn
    objRange.Autofit()
    End Sub
    David Hood

    Accessing Excel through automation is bvery slow no matter what tool you use.  Scanning a disk is very slow for all tools.
    Since Vista all system have a search service that catalogues all major file itmes like size, extension, name and other attributes.  A search of a 1+Tb  volume can return in less that a second if you query the search service.
    You can easily batch the result into Excel by writ4ing to a CSV and opening in Excel. Use a template to apply formats.
    Example.  See how fast this returns results.
    #The following will find all log files in a system that are larger than 10Mb
    $query="SELECT System.ItemName, system.ItemPathDisplay, System.ItemTypeText,System.Size,System.ItemType FROM SystemIndex where system.itemtype='.log' AND system.size > $(10Mb)"
    $conn=New-Object -ComObject adodb.connection
    $conn.open('Provider=Search.CollatorDSO;Extended Properties="Application=Windows";')
    $rs=New-Object -ComObject adodb.recordset
    $rs.open($query, $conn)
    do{
    $p=[ordered]@{
    Name = $rs.Fields.Item('System.ItemName').Value
    Type = $rs.Fields.Item('System.ITemType').Value
    Size = $rs.Fields.Item('System.Size').Value
    New-Object PsObject -Property $p
    $rs.MoveNext()
    }Until($rs.EOF)
    ¯\_(ツ)_/¯

  • Can we change font size and font type in reports

    Hi All Technical/Functional Masters,
    We are developing some transactional reports in ISU. this report has 20 columns to be printed. On screen, display is not a problem but client has a requirement to download this report in PDF format and wants to print on A4-paper in Landscape. Although we have managed to accommodate all the columns on A4 paper but have to compromise with font size that are very small and not visible. If we download the report in excel format we are able to maintain the font size 8 and accommodate all columns after little format but same in PDF is a problem.
    Can anyone tell whether we can increase the font size and change font type(from SAP standard to 'Arial') before sending the output in PDF ? Is there any property or utility that can be changed or used for this purpose.

    Function Module : CONVERT_ABAPSPOOLJOB_2_PDF
    Include : THSTXWFPL
      for modify font size
    decrease fontsze foncharacter will increase
    fontsize = 120.     <-- Change
    fontsize = 100.  or fontsize = 80
    Depend on your logon lang. My case logon 'TH' or 2.  I modified font ZCORDIA (refer CordiaNEW thai font)
    if is_cascading is initial.
      case language.
      when '0'. "Serbian
        font = 'COURCYR'.  devtype = 'SAPWIN'.
      when '1'. "simpl.Chinese
        font = 'CNHEI'.    devtype = 'CNSAPWIN'. cjklang = 'X'.
      when '2'. "Thai
      font = 'THDRAFT'.  devtype = 'THPDF'.
       font = 'ZCORDIA'.  devtype = 'ZMTHSWNU'.
        font = 'THANGSAN'.  devtype = 'ZPDFUC'.
      when '3'. "Korean
        font = 'KPSAMMUL'. devtype = 'KPSAPWIN'. cjklang = 'X'.
      when '4'. "Romanian
        font = 'COURIER'.  devtype = 'I2SWIN'.
      when '5'. "Slovenian
        font = 'COURIER'.  devtype = 'I2SWIN'.
      when '6'. "Croatian
        font = 'COURIER'.  devtype = 'I2SWIN'.
      when '8'. "Ukranian
        font = 'COURCYR'.  devtype = 'SAPWIN'.
    Add font Cordia Thai
    SE73 --> Fon familia --> ZCORDIA
    Load Font Cordia thai to system
    SE38 --> RSTXPDF2UC
    load CORDIA.TTF
    SE73 --> printer font --> 'ZMTHSWNU'
    Add ZCORDIA font and copy AFM Metric from = 'THDRAFT'.  devtype = 'THPDF'.
    Modify AFM
    example
    *----- OLD--
    StartFontMetrics 2.0
    sapFamily ZCORDIA
    sapHeight 000
    sapBold false
    sapItalic false
    StartCharMetrics 0183
    WX 0500 ; N space                          ;
    WX 0500 ; N exclam                         ;
    WX 0500 ; N quotedbl                       ;
    WX 0500 ; N numbersign                     ;
    WX 0500 ; N dollar                         ;
    WX 0500 ; N percent                        ;
    WX 0500 ; N ampersand                      ;
    *--NEW--
    StartFontMetrics 2.0
    sapFamily ZCORDIA
    sapHeight 000
    sapBold false
    sapItalic false
    StartCharMetrics 0183
    WX 0375 ; N space                          ;
    WX 0375 ; N exclam                         ;
    WX 0375 ; N quotedbl                       ;
    WX 0375 ; N numbersign                     ;
    WX 0375 ; N dollar                         ;
    WX 0375 ; N percent                        ;
    WX 0375 ; N ampersand                      ;
    Result : decrease space between character.   Then Your PDF will have BIGGER FONT.
    Rdgs,
    Suwatchai

  • Large file size and fuzzy type

    I'm new at using FCE2 and composed my first short 4 minute video. It includes a still image, a PSD layered file which I discovered was quite handy, a few clips and type using the type generator. I exported it to QuickTime movie. Three observations: I was floored by the nearly 1GB size, fuzzy type, and the file on the hard drive says it's a FCE movie inclusive of the little FCE icon by the file name. I was expecting to see a QuickTime icon with file name and the type of file is a QuickTime movie. Is all this normal? I'm very disappointed in the fuzzy type. Oh, also, the still image became blurry. Why?? Just so you know, the still image was a special file 640x480 with a pixel aspect ratio of D4/D16 Anamorphic
    I saved the project under a new name and redid it taking out the Photoshop image, removing it from the bin also, and the new movie exported even larger, over a gig in size. Huh??

    Thanks for the reply Tom. After I posted the first time I went to the Finder, Get Info, and I saw that I could change the 'Opens with' to QuickTime and therefore it became a QuickTime file. About that Anamorphic business I read a 'how to' on dealing with images before bringing them into video. The tip says in the 'New' file dialogue box to choose 640x480 size and in the pull down menu at the bottom where you can choose the 'Pixel Aspect Ratio' it was suggest to use that Anamorphic setting. I did it but it certainly didn't look right but I went with it.
    Again after I posted I looked at the Format of one of the clips and saw the size to be 720x480, Compressor is DV/DVCPRO-NTSC, Pixel Aspect is NTSC-CCIR 601, Anamorphic field is blank. I'm running Photoshop CS2. So I went back there and created a new blank file to use a template for dealing with stills but this time I used the Preset pull down menu and chose NTSC DV 720x480 with guides and the Pixel Aspect Ratio automatically loaded D1/DV NTSC (0.9), clicked Ok and viola, the blank file looks exactly like the Canvas in FCE. I haven't played with a still with this new setting but I will try it on the little project I'm working on.
    As for viewing it, I am looking at it on my Mac flat screen. I went into QuickTime Preferences and checked the box for high quality, thank you. Thanks for reassuring me on the file size.
    I also don't know what "D4/D16 Anamorphic" means.
    I don't understand the fuzzy type. I'm aware these are 72 ppi files and video is not resolution dependent but rather pixel dependent. Computer monitors display at 72 ppi, televisions are higher. I have yet to complete the process of burning a DVD and playing it back on a TV. Maybe that's where I'll see the type showing up sharper.
    At any rate, just dealing with this itty bitty project tells me I have a lot to learn about video, never mind learning about how to use FCE as well.

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

  • I need to export a photo at around 1meg file size,and dont seem to be able to do it in the presets can anyone help please ,I shoot on a canon 5d

    I need to export a photo at around 1meg file size,and dont seem to be able to do it in the presets can anyone help please ,I shoot on a canon 5d

    I believe Frank is referring to the end use (e.g., for print or on-screen use).
    Until he returns, I can tell you that I ran a quick test using an image from the Aperture 3 training book library which was as follows:
    Camera = Canon EOS 5D Mark II
    Master resolution = 5616 x 3744 (21 MP)
    I was able to export to a JPEG with end file size of 1 MB as follows:
    Export Presets drop-down > select 'Edit' option
    Selected preset name 'JPEG - 50% of Original Size' > change percentage value to 40% > change DPI value to '300' > click OK to set as current default > Export version to desktop.
    The exported JPEG has a resolution of 2246 x 1498 and appears on screen to have the same image quality of the original in Aperture.
    Note - I did not change the default Image Quality slider in the Export Preset dialog (which left it at 10).
    Basically, you will need to play around with the settings until you find the appropriate values to arrive at an image version you want.

  • Just purchased a Mac today. Large screen but small type size on the desktop. How can I change the font size that appears on the desktop? The only place that I can find font size is in word and this is not what I need. Thanks for your help!

    JUST PURCHASED A MAC TODAY. LION OS. NEED HELP INCREASING THE SIZE OF THE FONTS ON THE DESKTOP. EVEN THOUGH I HAVE A LARGE SCREEN, THE TYPE SIZE IS VERY SMALL. GOING TO WORD AND CHANGING THAT TYPE SIZE IS ALL I HAVE FOUND IN HELP TOPIC.

    Finder > View > Show View Options
    Change the text size to whatever you want.

  • 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;
         }

  • The ipad won't sync some photos, saying the file can't be read by the ipad, however it will sync some photos taken at the same time which are the same size and file type.  Why does it reject some and accept others?

    The ipad won't sync some photos, saying the file can't be read by the ipad, however it will sync some photos taken at the same time which are the same size and file type.  Why does it reject some and accept others?

    Hi there. I'm having the same problem: my iPad won't import some photos from a folder, saying that they can't be read. They are all JPEGS and some photos taken at the same time have synched fine, but out of a folder with 200 photos, it only lets me synch 37. I'm synching albums created via Photoshop Elements 6, which has worked fine until now.
    I've tried deleting all photos and re-synching, and have also deleted the iPod Photo Cache, but it hasn't made a difference.
    The iPad auto-updated to the latest version of iTunes, so maybe that's what's causing it?
    Any advice gratefully received!

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

Maybe you are looking for