Any stock classes or add-on packages that can get Image info?

I'm writing a program that uses SVD for image compression. I was curious if there were any classes out there somewhere that will enable me to easily get the meta data (height, width) and/or the pixels from an image (specifically JPEG or GIF)??
If no one knows of any, does anyone know of a good reference for the JPEG file specification? (basically, if I know what bytes are supposed to be what in a JPEG file, I can just read it myself).
Any help is greatly appreciated

Additionally, you can probably just load the file with an ImageIcon and use getIconWidth and getIconHeight. Dunno if that'll work though, I've never played around with ImageIcons all that much.
Jason

Similar Messages

  • Any updated JRC for Java 1.3 that can fix "Image swapping in PDF" issue?

    Hi:
      We are using Crystal Report XI release 1 on Websphere server 5.0 with Java version 1.3. Currently we are suffering from the problem that the wrong pictures are on the wrong places in the generated PDF document. The images are mixed up with other images in the report.
      It is said that the updated JRC files in CR4E 2.0 can fix this issue. I downloaded the JARs but unfortunately the Java version in these updated JRC JARs is higher than Java version 1.3.
    Could you please tell me is there any JAR that can not only solve the mentioned issue but also work with Java version 1.3?
    If yes could you please give me a URL link? If no could you please answer no so that I don't put more effort on this issue?
    Thanks a lot!!
    Ying

    Hi Ying,
    Unfortunately CR XI is past it's end of life and CR XI R2 and CR4E 2.0 requires java 1.4.
    Only option is to upgrade.
    Thank you
    Don

  • Is there an unlimited music download package that can be purchased or do all downloads have to be bought individually?

    Is there an unlimited music download package that can be purchased or do all downloads have to be bought individually?

    There is no subscription model for iTunes. You purchase the songs you want individually.
    (58812)

  • Is there any combination of OS Lion and iTunes that can run radio streams without cutting (rebuffing) it for at least 3-4 hours?

    Hello! Is there any combination of OS Lion and iTunes that can run radio streams (primarily pls-streams) without cutting (rebuffing) it for at least 3-4 hours? I am running Lion (10.7.1) on an early-2011 MacBookPro with iTunes 10.3.1 and I am frustrated, because it will cut the stream at least once per hour (it's totally random), while my older MacBook, running Tiger with iTunes 9.2.1 doesn't have any such problems ... Any solution?

    Maybe you should upgrade iTunes to the current version - 10.5.3 - and upgrade Lion to 10.7.3.

  • Want to create an add-in/webpart that can enable comments for each day in TimeSheet

    Hi,
    Want to create an add-in/webpart that can enable comments for each day in timesheet.
    I need help how can I achieve that programmatically.
    Regards,
    Mehar

    Hi,
    I already developed this kind of customization. The system offered the possibility to clic on a cell (Project Center, or My Task, or Timesheet), to input a value to store in a custom field, or in a database.
    After clicking, a Popup with different textbox, etc...is displayed:  it is possible to put values, comments, or whatever.
    The benefits is that with this method, you don't have to redevelop the complete timesheet grid, which would be really complex.
    Instead of that, you develop a part of javascript code, which displays a popup containing asp.net code. From the aspx page, you can make what you want: modifying the value of an task/assignment customfield for exemple.
    To start, you can search for the Project Server 2010 SDK, Customize Project Center: it would be a good start point.
    In case of big difficulty, ask again here, and we could get in touch to give more explanations.
    Hope it helps,
    Sylvain

  • Are you aware of any software similar to ADSL Navigation Tools that can be used with in Mac?

    Are you aware of any software similar to ADSL Navigation Tools that can be used with in Mac?

    The popup message always warns to do a backup first since there is the potential of lost data if the upgrade fails.
    Sadly, your only option at this point is to restore and hope there is a backup stored from a previous sync.
    Backing up, Updating and Restoring
    http://support.apple.com/kb/HT1414
    Unable to Update or Restore
    http://support.apple.com/kb/HT1808

  • Is there any viruses that can get into my iPad

    Is there any viruses that can get into my iPad

    As of now, there are no known viruses written for the iOS.

  • I need a script that can save images in whatever directory they reside in

    I am working on a project where I have over 1500 directories that have multiple .TIF images in each one. I am looking for a solution where I can run a script (which may or may not call on actions) that allows me to save each .TIF as a .PSD and again as a .PNG (with specific optimization settings) in the same directory as the original .TIF. The main idea here is I need to be able to run the script and walk away. So I'm looking for a one press option for each directory.
    I can create an action that saves the files in the proper format but when I record the action it saves the file in "folder 1". When I run this action again on "folder 2" it saves the images in "folder 1."  I could certainly make adjustments in the "Batch" dialog box by choosing the over ride "save as" function but the goal is to not have to do that 1500 times.
    So, my question is, is there a single script out there that can save images next to the original .TIFFS regardless of what directory the reside in? I'm no scripting guru, but perhaps the code uses something with a "this" command to specify the folder to save images to? Is this even possible? If so, are there web sites I can buy this from? Is there a scripting community that can provide these services?
    Any help to point me in the right direction is much appreciated.
    Mike

    You could try my Picture Processor ...
    http://www.ps-scripts.com/bb/viewtopic.php?f=10&t=3409&sid=3925f7039423a428ed082feba2c0aee 9
    Use the second download.

  • I just reinstalled iTunes, and it will not open, as it says iTunes library itl. was created from an earlier version. Any idea what this means, and how I can get itunes to open?

    I just reinstalled iTunes, and it will not open, as it says iTunes library itl. was created from an earlier version. Any idea what this means, and how I can get itunes to open?

    Many thanks.
    That suggests that another application has stashed old QuickTime componentry in your system files.
    So just in case we'll go looking for older QuickTime componentry in the most common locations for it to be stashed.
    First we'll need to change some view settings.
    In your Start menu, open Computer.
    In your Organise menu, select Folder Options.
    In the View tab, make sure that "Show hidden files and folders" is selected, and Hide extensions for known file types is unchecked.
    Click OK.
    Now in Computer, open your C:\ drive (or whichever drive you have your operating system installed on).
    Open the "Windows" folder.
    If you have a 32-bit version of Windows, open the "System32" folder.
    If you have a 64-bit version of Windows, open the "SysWOW64" folder.
    What files and folders can you see in there with QuickTime in the title? (In a standard installation of Quicktime you should be seeing precisely two files... QuickTime.qts and QuickTimeVR.qtx ... and no QuickTime folders whatsoever.)

  • *** Example of JSF Image servlet that can write image to network drive ??

    Hi Guys,
    Does anyone have an example of a of JSF Image servlet that can Write image to network drive ??
    I can write an image to my local drive on my tomcat app server. But when I try to map to a network drive with IP or Mapped drive it fails.
    Any help out there ??
    Thanks
    Phil

    Hi,
    The drive I am trying to access is on a box 45.65.111.115 ip
    I have mapped the box and drive to M:
    Setting sharing on...
    I have tried a few new ways...
    imageDrive2=M:\\test_images\\
    gives this errror
                java.io.FileNotFoundException: M:\test_images\first250k\16Sep0857_Phil_Tucson.JPG (The system cannot find the path specified)
         at java.io.RandomAccessFile.open(Native Method)
         at java.io.RandomAccessFile.<init>(RandomAccessFile.java:212)
         at javax.imageio.stream.FileImageOutputStream.<init>(FileImageOutputStream.java:44)=============================================
    imageDrive3=\\\\45.65.111.115\\first250k\\test3.jpg
    gives this errror
    java.io.FileNotFoundException: \\45.65.111.115\first250k\test3.jpg (Access is denied)
         at java.io.RandomAccessFile.open(Native Method)
         at java.io.RandomAccessFile.<init>(RandomAccessFile.java:212)
         at javax.imageio.stream.FileImageOutputStream.<init>(FileImageOutputStream.java:44)
         at com.sun.imageio.spi.FileImageOutputStreamSpi.createOutputStreamInstance(FileImageOutputStreamSpi.java:37)========================================================
    imageDrive4=\\\\45.73.111.115\\test_images\\test4.jpg
    gives this errror
    java.io.FileNotFoundException: \\45.73.111.115\test_images\test4.jpg (Access is denied)
         at java.io.RandomAccessFile.open(Native Method)
         at java.io.RandomAccessFile.<init>(RandomAccessFile.java:212)
         at javax.imageio.stream.FileImageOutputStream.<init>(FileImageOutputStream.java:44)
         at com.sun.imageio.spi.FileImageOutputStreamSpi.createOutputStreamInstance(FileImageOutputStreamSpi.java:37)
         at javax.imageio.ImageIO.createImageOutputStream(ImageIO.java:391)
         at javax.imageio.ImageIO.write(ImageIO.java:1483)=============================================================================
    Any help out there??
    Phil

  • My MacBook Air won't stay off. I turn it off and it will wait anywhere from a few seconds to a few hours and turn itself back on. You can see how that can get annoying and I can't seem to solve the problem.

    I turn it off and it will wait anywhere from a few seconds to a few hours and turn itself back on. You can see how that can get annoying and I can't seem to solve the problem.

    There's a slight chance this might help:
    Intel-based Macs: Resetting the System Management Controller (SMC)
    Otherwise it needs to be repaired.

  • I'm trying to find instructions on replacing the memory module in an older MacBook (1,1). This is the model that has the battery on the back. Anybody know where I can get this info? (It's not listed in the Apple Support info)

    I'm trying to find instructions on replacing the memory module in an older MacBook (1,1). This is the model that has the removeable battery on the back. Anybody know where I can get this info? (It's not listed in the Apple Support info)

    Video of the installation here:
    http://eshop.macsales.com/installvideos/macbook_13_mem_hd/
    MtD

  • Is there any limit on number of firefox profiles that can be created?

    Is there any limit in the number of firefox profiles that can be created?
    My issue is
    I am currently doing selenium webdriver automation in linux for a device. There are 50 devices of same kind and framework will pickup a device depending on availability. I need to by pass unsigned ssl pages. I am using firefox 14.
    I have implemented following but it is not consistent.
    everytime a device is chosen
    adds cer of device to the cert file in firefox profile
    but I am getting sec_error_bad_signature very frequently.
    So I started recreating cert [delete and create if by opening firefox] file for every run.
    Now this is posing a problem if multiple devices are run at the same time. Hence I want to create separate firefox profile

    Not that I have ever found. And at one time I had over 60 Profiles, but after I hit 20 Profiles listed in the profiles.ini file the launch time for Firefox became noticeably longer on WinXP. With remote Profiles, not listed in the profiles.ini file and launched strictly from command line there was no impact on launch time.
    How or if that relates to Mac OSX is beyond my knowledge, never owned used a Mac.

  • Are there any third party pacakages for plant maintenance that can be interfaced with

    are there any third party plant maintenance packages that interface with OPM? does Oracle apps have a module for plant maintenance?

    I'm working for a leading Food Industry in Kuwait (The Kuwaiti Danish Dairy Co.) We have a massive implementation of OPM with 24 modules, BI tools (OSA, OFA) and Maximo (The only third party package) integrated with Oracle. OPM version is 11.0.3 on database 8.0.5. Now you have option of 11i (eAM) with POC (PM) or Maximo 5i integrated with 11i (and of course any other 3rd party solution which can be integrated with OPM).
    You can write to me on: [email protected] or call me on: +965-9650172 for details.
    All the best.

  • I want a ibooks that can be used on version 4.2.1 can any one help, i want a ibooks that can be used on version 4.2.1 can any one help

    Hi i need a app that can allow me to read books on my ipod but it is version 4.2.1 and ibooks doesnt work - any clues please

    This may help for some epubs
    Tip - You can still get epub ebook...: Apple Support Communities

Maybe you are looking for