Welcome to the Java Programming Forums

The professional, friendly Java community. 21,500 members and growing!

The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 3 of 3

Thread: Looking for a Image class with the following functionality.

  1. #1
    Junior Member
    Join Date
    Sep 2011
    Thanked 0 Times in 0 Posts

    Default Looking for a Image class with the following functionality.

    Greetings All

    I have been searching for a Java class which will allow me to do the following:

    1] Load an image file where the image file is either a BMP, JPEG or TIFF
    2] Use the mouse to draw a line on the image and then count the number of pixels between the two end points.
    3] It would be nice if the library allowed for 16 bit TIFF (16bit per channel: 48 bit total)

    Can anybody recommend a library which will do the above?

    I appreciate any and all help.

    Last edited by ishtar; December 16th, 2011 at 01:37 PM.

  2. #2
    Member snowguy13's Avatar
    Join Date
    Nov 2011
    In Hyrule enjoying a chat with Demise and Ganondorf
    My Mood
    Thanked 48 Times in 42 Posts

    Default Re: Looking for a Image class with the following functionality.

    I don't have much image knowledge, but you may want to check out this tutorial. The ImageIcon and Image classes may also be helpful. As for the pixel count part, you may have to code that using MouseListeners.
    Last edited by snowguy13; December 18th, 2011 at 05:26 PM. Reason: Adding a link
    Use highlight tags to help others help you!

    [highlight=Java]Your prettily formatted code goes here[/highlight]

    Using these tags makes your code formatted, and helps everyone answer your questions more easily!

    Wanna hear something funny?

    Me too.

  3. #3
    Think of me.... Mr.777's Avatar
    Join Date
    Mar 2011
    My Mood
    Thanked 82 Times in 78 Posts
    Blog Entries

    Default Re: Looking for a Image class with the following functionality.

    I will recommend you to see ImageJ

Similar Threads

  1. Create image Jpeg from an object of Image class.
    By Ramandeep in forum File I/O & Other I/O Streams
    Replies: 2
    Last Post: December 31st, 2011, 11:34 PM
  2. Replies: 13
    Last Post: December 1st, 2011, 11:36 PM
  3. Need Help Adding Functionality to GUI!
    By Black Balloon in forum AWT / Java Swing
    Replies: 1
    Last Post: August 29th, 2011, 07:16 AM
  4. New to Java: Adding Functionality to my Buttons
    By Staticity in forum What's Wrong With My Code?
    Replies: 0
    Last Post: July 23rd, 2011, 04:19 PM
  5. FAX Functionality in JAVA Application
    By animesh in forum Java Theory & Questions
    Replies: 0
    Last Post: February 11th, 2010, 07:39 AM